Send CloudFront logs to Axiom

Amazon CloudFront is a web service that speeds up distribution of your static and dynamic web content, such as .html, .css, .js, and image files, to your users. CloudFront delivers your content through a worldwide network of data centers called edge locations.

We built an easy way for you to send CloudFront logs to Axiom using AWS S3 bucket and Lambda. With this, you can observe your static and dynamic content and run deep queries on your CloudFront distribution logs efficiently and properly.

Prerequisites

Installation

Axiom CloudFront integration is available opensource on GitHub. Select the stack you want to deploy and click on launch stack.

There are two methods to send logs from Cloudfront to Axiom using our launch stack:

CloudFront overview


CloudFront overview

Configuration

  1. Create and Configure your CloudFront Distribution
  • Select your origin Domain
  • In Origin access, select use Legacy access identities and choose your Origin access identity. In your Bucket Policy select Yes, update the bucket policy

CloudFront overview

  • In your Standard logging option, select the On button so that your data will be delivered to your S3 bucket.

CloudFront overview

  • Click on Create Distribution and Run your Distribution.
  1. Back in your Axiom Dataset you'll see your CloudFront Distribution logs

CloudFront overview

Was this page helpful?