AWS Elemental MediaTailor
The default Hydrolix dashboard for AWS Elemental MediaTailor combines MediaTailor manifests, ad decision server logs, and service metrics. Adding MediaTailor as a data source in the Hydrolix web console provisions two Amazon Data Firehose streams that send that data to the Hydrolix cluster, one for logs and one for metrics.
Prerequisites⚓︎
- Amazon Data Firehose streams for logs and metrics, such as
hdx-logs-mediatailor-mycluster:- With Hydrolix for AWS: adding MediaTailor as a data source provisions both.
- On a self-managed cluster: create the streams and connect them to Hydrolix. See Amazon Data Firehose.
Send MediaTailor logs to Hydrolix⚓︎
With vended logs, MediaTailor sends its logs straight to a Firehose stream, and Hydrolix ingests them from there. Hydrolix recommends vended logs, because skipping CloudWatch reduces cost and latency.
If MediaTailor logs are already in CloudWatch, forward them to Firehose instead. See Send CloudWatch Logs to Firehose.
Configure MediaTailor for vended logs⚓︎
- Open the MediaTailor console.
- In the left navigation, select the MediaTailor configuration whose logs should go to Hydrolix, then select Edit.
- Select Vended logs as the logging strategy for the MediaTailor configuration.
- Open the Vended Logs tab. Select Add, then To Amazon Data Firehose > In current account.
- Under Log type, select AD_DECISION_SERVER_LOGS.
- Under Destination delivery stream, select the Data Firehose stream created in Prerequisites.
- Select Add. MediaTailor logs then stream to Hydrolix.
Send MediaTailor metrics to Hydrolix⚓︎
MediaTailor sends its metrics to CloudWatch. A CloudWatch metric stream sends them on to Hydrolix through Firehose.
Export metrics from CloudWatch⚓︎
- Open the CloudWatch console.
- In the left navigation, under Metrics, select Streams.
- Select Create metric stream.
- At the top of the setup page, select Custom setup with Firehose.
- Select the Data Firehose stream created in Prerequisites.
- In the Change output format - optional dialog, select JSON.
- (Optional) Add a Custom metric stream name.
- Select Create metric stream. MediaTailor metrics then stream to Hydrolix.
Automatic provisioning region⚓︎
Adding MediaTailor as a data source in the Hydrolix web console creates the Firehose streams in the same region as the Hydrolix cluster. To find that region, see the Product Info page of the Hydrolix web console.
Cross-region data transfer costs⚓︎
To reduce AWS charges for data transfer between regions, deploy MediaTailor in the same region as the Hydrolix cluster. If MediaTailor runs in several regions, check the region selected in each AWS console during setup. These charges appear on the AWS bill and aren't part of the Hydrolix subscription.
To estimate costs, use the AWS pricing calculator with these services:
Remove the data source⚓︎
To remove the CloudWatch and Firehose resources that Hydrolix provisioned, select de-activate in the Hydrolix web console.