circle-info
Version 2 is coming up

Amazon CloudFront

Overview

This integration uses Amazon Data Firehose to deliver CloudFront logs directly to our Agent Monitor. Amazon Data Firehose (formerly Kinesis Data Firehose) is a fully managed AWS service for loading streaming data into a variety of destinations, including HTTP endpoints.

For additional details, refer to the AWS documentationarrow-up-right.

Setup

1

Log into your AWS Console and head over to the Amazon Data Firehose section. This is where we'll create the pipeline that sends you to Limy.

2

Click to create a new delivery stream and configure it with these settings:

  • Source: Choose "Direct PUT"

  • Destination: Select "HTTP Endpoint" These settings tell Data Firehose to accept data directly and send it to an HTTP endpoint (which will be Limy's API).

  • Content encoding: Choose "Disabled"

3

Now for the important part - connecting to Limy:

https://stream.getlimy.ai

Authentication: You'll need to provide your Limy key as the access key. We strongly recommend using AWS Secrets Manager to store this securely.

Create a secret in AWS Secrets Manager with this JSON structure:

{ "api_key": "your_limy_api_key" }
circle-exclamation
4

Navigate to your CloudFront distribution in the AWS Console and click over to the "Logging" tab. Hit the "Add" button and choose "Kinesis Data Firehose" as your destination.

circle-exclamation
5

You'll be on the "Add standard logging destination" screen now. Pick the delivery stream you just created, then scroll down to "Additional settings - optional" and select these fields:

6

Under "Output format", select JSON. This ensures the data is structured properly for Limy to process.

Need More Help?

Last updated