

# AWS Elemental MediaTailor transcode logs description and event types
<a name="tm-log-format"></a>

The following sections describe the logs that MediaTailor emits to describe events with the transcode service when preparing creatives for ad stitching. These are `TranscodeService` logs.

**Topics**
+ [TranscodeService events](#log-types-tminteraction)
+ [Transcode logs properties](#transcode-logs-main)

## TranscodeService events
<a name="log-types-tminteraction"></a>

The following events are emitted during MediaTailor interactions while transcoding ads. 


| Log | Description | 
| --- | --- | 
| IMPORT\$1ERROR | MediaTailor encountered an internal error during an import job (for preconditioned ads). Using an empty set of ads. | 
| INITIALIZED | MediaTailor initialized either a transcode job or an import job (for preconditioned ads). | 
| INTERNAL\$1ERROR | MediaTailor encountered an internal error. Using an empty set of ads. | 
| MISSING\$1VARIANTS | MediaTailor could not transcode the ad because of missing variants. Using an empty set of ads. | 
| PROFILE\$1NOT\$1FOUND | MediaTailor could not transcode the ad because of a missing profile to transcode. Using an empty set of ads. | 
| TRANSCODE\$1COMPLETED | Video transcoding is complete. The ad can be used for ad insertion. | 
| TRANSCODE\$1ERROR | MediaTailor encountered an internal error during a transcode job. Using an empty set of ads. | 
| TRANSCODE\$1IN\$1PROGRESS | Video transcoding is in progress. The transcoded video is not ready. Using an empty set of ads. | 

## Transcode logs properties
<a name="transcode-logs-main"></a>

This section describes the properties of the transcode logs.


| Property | Type | Required | Description | 
| --- | --- | --- | --- | 
| awsAccountId | string | true | The AWS account ID for the MediaTailor configuration that was used for the session. | 
| eventTimestamp | string | true | The date and time of the event. | 
| originId | string | true | The configuration name from the MediaTailor configuration. This is different from the video content source, which is also part of the configuration. | 
| eventType | string | false | The code for the event that triggered this log message. Example: TRANSCODE\$1ERROR. | 
| eventDescription | string | false | A short description of the event that triggered this log message, provided by the MediaTailor service. By default, this is empty.  | 
| sessionId | string | false | The unique numeric identifier that MediaTailor assigned to the player session. All requests that a player makes for a session have the same session ID. Example: e039fd39-09f0-46b2-aca9-9871cc116cde. | 
| creativeUniqueId | string | false | The unique identifier for the ad creative that's being transcoded. | 
| profileName | string | false |  | 
| adUri | string | false | The URI for the ad creative. | 
| transcodeRequestId | string | false | The unique identifier for this transcode request. | 
| cacheStatus | string | false | Indicates if MediaTailor cached the transcoded ad.  | 