/athena

Athena Setup and examples

Athena

Athena Setup and examples

To use this in AWS

  • Create a cloudtrail
  • Copy S3 location and update s3://aws-cloudtrail-logs-758686322068-XXXXXXX/AWSLogs/Account_Number/ and use it as source
  • Use the files
    • Create database
    • Create table (update the last line with point 2)
    • Run queries (there are some examples here)