Query Amazon Web Services service logs
This section includes several procedures for using Amazon Athena to query popular datasets, such as Amazon CloudTrail logs, Amazon CloudFront logs, Classic Load Balancer logs, Application Load Balancer logs, Amazon VPC flow logs, and Network Load Balancer logs.
The tasks in this section use the Athena console, but you can also use other tools like the Athena JDBC driver, the Amazon CLI, or the Amazon Athena API Reference.
For information about using Amazon CloudFormation to automatically create Amazon Web Services service log tables,
partitions, and example queries in Athena, see Automating Amazon Web Services service logs table creation and querying them with Amazon Athena
The topics in this section assume that you have configured appropriate permissions to access Athena and the Amazon S3 bucket where the data to query should reside. For more information, see Set up, administrative, and programmatic access and Get started.
Topics
For information about querying Amazon S3 logs, see the following topics:
-
How do I analyze my Amazon S3 server access logs using Athena?
in the Amazon Knowledge Center -
Querying Amazon S3 access logs for requests using Amazon Athena in the Amazon Simple Storage Service User Guide
-
Using Amazon CloudTrail to identify Amazon S3 requests in the Amazon Simple Storage Service User Guide