Amazon Athena

Amazon Athena is an interactive query service that allows analysis of data stored in Amazon S3 with standard SQL.

S3 Bucket setup

Papertrail can store log archives in S3.

Athena Setup

Once archives are stored in the bucket, follow Analyzing Papertrail logs with AWS Athena.

Thanks to Dave North and Signiant for this excellent guide!