Setting up the CloudFront integration
Setting up Log File Analysis with the (opens in a new tab) in ContentKing is a breeze! Follow the steps outlined below to enable Log File Analysis in ContentKing, and set up the CloudFront integration.
Setting up the Log File Analysis
The process of configuring the Log File Analysis consists of two phases:
Enabling the Log File Analysis feature in ContentKing
Configuring CloudFront Standard logging
1. Enabling the Log File Analysis feature in ContentKing
If you navigate to the
Account and then
Websites section in ContentKing, you can easily filter and see which of the websites you are monitoring in ContentKing are hosted on CloudFront:
From there, just follow the steps outlined below to enable the Log File Analysis on the wanted website:
2. Configuring CloudFront Standard logging
To configure Standard logging you need to install the Standard logging in your AWS account and stream log file data to ContentKing S3 bucket.
Stream log file data to ContentKing S3 bucket
To stream CloudFront Standard logging data to ContentKing S3 bucket you can follow these steps:
- In the Log File Analysis section, click on
Installlink under the Log Sources
- Find the AWS account ID in your AWS account by following the steps outlined here: (opens in a new tab)
- Enter the AWS account ID in ContentKing
Install Cloudfront Standard loggingmodal:
- Specify in which region should the ContentKing AWS S3 bucket be created (EU or US) and save the bucket name as you will need it when enabling the Standard logging.
- Once the bucket name is saved, click
Enable Standard logging in the AWS UI.
Follow these steps to enable (opens in a new tab):
1. Search for CloudFront in your AWS account and select CloudFront service:
2. Open Distributions on the left hand side and click on the needed website property ID:
3. Once the Distribution domain details page is opened, click Edit:
4. Enable Standard logging and paste the S3 bucket name which ContentKing generated in the steps above:
5. Once done, click
Save changes and the data should be streamed to ContentKing S3 bucket immediately.
Disabling Log File Analysis
Once this is done, ContentKing will automatically disable Standard logging access to the AWS S3 bucket where the data was streamed.
Disabling Standard logging
If you have disabled the Log File Analysis feature, you still need to disable the Standard logging in the AWS UI.
This needs to be done manually, as ContentKing doesn't have access to your AWS account.
Frequently asked Security related questions
For the most common security-related questions about ContentKing's Log File Analysis, refer to the FAQ section in the Log File Analysis support article
In case you have any questions regarding the CloudFront integration that are not covered by our documentation, don’t hesitate to contact us!