Enabling the As Run log
To enable the As Run log, specify the channel name and enable the As Run log type for that channel.
- Console
-
To enable the As Run log when creating a channel
Sign in to the AWS Management Console and open the MediaTailor console at https://console.aws.amazon.com/mediatailor/
. -
In the navigation pane, choose Channel assembly > Channels.
-
On the navigation bar, choose Create channel.
-
In the Set channel details, Configure outputs, and Access control panes, configure your channel as desired.
-
In the Access control pane, choose Next.
-
In the Logging pane, under Log types, select Enable as run to enable the As Run log.
To enable the As Run log when updating a channel
Note
If the channel is currently running, you must first stop that channel before you can update it. After you stop the channel, you can choose Actions > Edit to begin updating the channel.
Sign in to the AWS Management Console and open the MediaTailor console at https://console.aws.amazon.com/mediatailor/
. -
In the navigation pane, choose Channel assembly > Channels.
-
Choose the channel that you want to update to enable the As Run log for.
-
Choose Actions > Edit.
-
In the Set channel details, Configure outputs, and Access control panes, update your channel configuration as desired.
-
In the Access control pane, choose Next.
-
In the Logging pane, under Log types, select Enable as run to enable the As Run log.
To enable the As Run log from the Logging tab
Note
If the channel is currently running, you must use the Logging tab instead of choosing Actions > Edit to enable the As Run log.
Sign in to the AWS Management Console and open the MediaTailor console at https://console.aws.amazon.com/mediatailor/
. -
In the navigation pane, choose Channel assembly > Channels.
-
Choose the channel that you want to enable the As Run log for.
-
In the navigation bar under the channel's name, choose Logging.
-
Under Logging > Log types, select As run to enable the As Run log.
- AWS Command Line Interface (AWS CLI)
-
To enable the As Run log
Run the configure-logs-for-channel command and specify the appropriate values for the required parameters.
This example is formatted for Linux, macOS, or Unix, and it uses the backslash (\) line-continuation character to improve readability.
$ aws mediatailor configure-logs-for-channel \ --channel-name
MyChannel
\ --log-types AS_RUNThis example is formatted for Microsoft Windows, and it uses the caret (^) line-continuation character to improve readability.
C:\> aws mediatailor configure-logs-for-channel ^ --channel-name
MyChannel
^ --log-types AS_RUNWhere:
-
is the name of the channel that you own and want to enable the As Run log for.MyChannel
If the command runs successfully, you receive output similar to the following.
{ "ChannelName": "
MyChannel
", "LogTypes": [ "AS_RUN" ] } -