Query Amazon CloudFront logs
You can configure Amazon CloudFront CDN to export Web distribution access logs to Amazon Simple Storage Service. Use these logs to explore users' surfing patterns across your web properties served by CloudFront.
Before you begin querying the logs, enable Web distributions access log on your preferred CloudFront distribution. For information, see Access logs in the Amazon CloudFront Developer Guide. Make a note of the Amazon S3 bucket in which you save these logs.
Topics
- Create a table for CloudFront standard logs (legacy)
- Create a table for CloudFront logs in Athena using manual partitioning with JSON
- Create a table for CloudFront logs in Athena using manual partitioning with Parquet
- Create a table for CloudFront logs in Athena using partition projection with JSON
- Create a table for CloudFront logs in Athena using partition projection with Parquet
- Create a table for CloudFront real-time logs
- Additional resources