You can do this one of two ways: By creating tables for CloudTrail log files directly from the CloudTrail console. By manually creating tables for CloudTrail log files in the Athena console. Topics. Understanding CloudTrail Logs and Athena Tables; Using the CloudTrail Console to Create an Athena Table for CloudTrail Logs …
https://docs.aws.amazon.com/athena/latest/ug/cloudtrail-logs.html