Amazon CloudFront

Overview

This integration uses Amazon Data Firehose to deliver CloudFront real-time logs directly to our Agent Analytics API. Amazon Data Firehose is an AWS service that provides dependable, continuous streaming of data to a variety of destinations, including HTTP endpoints. For additional details on CloudFront real-time logs, refer to the AWS documentation.

Prerequisites

  • An AWS Account with CloudFront and AmazonData Firehose permissions

  • Access to your CloudFront distribution configuration

  • API credentials for the Profound Agent Analytics platform

Configuration

1

Step 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

Step 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).

3

Step 3

Now for the important part - connecting to Limy:

https://stream.getlimy.ai

Authentication: You'll need to provide your Limy Pixel token 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_pixel_token_here" }
4

Step 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.

5

Step 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:

Time and IP

Request Details

Response Details

6

Step 6

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

Last updated