Partitioning CloudTrail Logs in Athena

Alex Smolen
4 min readJan 15, 2018

CloudTrail logs provide information about AWS API calls and are useful in a variety of scenarios:

While the information they contain is undoubtedly useful, interacting with CloudTrail logs can be difficult.

CloudTrail logs are delivered to S3 as JSON by default, so you could download the files and parse…

--

--