Skip to main content
Integrating CloudFront Log Data
Updated over 5 months ago

πŸ›  Botify LogAnalyzer requires information from your web server's daily logs and your website's crawl report. This document describes the integration process when CloudFront hosts the logs.

Overview

CloudFront customers configure an automated export to an AWS S3 bucket they own. Botify fetches the logs from this S3 bucket.

Configuring an Automated Export

  1. In the CloudFront administration console, find the distribution or distributions corresponding to the website you need to integrate with Botify.

  2. Referring to the AWS guide to configure logging, edit each distribution to:

    • Enable logging.

    • Configure an AWS S3 bucket you own, where CloudFront will save the logs. If you group logs from several distributions in the same S3 bucket, add a prefix to organize logfiles by distribution:
      ​

      463
  3. To create credentials for Botify, create a dedicated AWS user and a corresponding key pair (AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY), with authorizations on the "s3:List*" and "s3:Get*" actions, on your bucket and all useful subfolders.
    ​Example of a corresponding IAM policy:

    { "Id": "Policy1488876114416", "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt1488875932621", "Effect": "Allow", "Action": [ "s3:List*", "s3:Get*" ], "Resource": [ "arn:aws:s3:::my-bucket/*", "arn:aws:s3:::my-bucket" ] } ] }
  4. Provide Botify Support with the name of the AWS S3 bucket, optionally the prefixes to fetch, and the account keypair AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

Botify will download the logs directly from the AWS S3 bucket daily.


Contact Support

If you need any assistance, please contact Support.

Did this answer your question?