Querying Amazon SES event logs - Amazon Athena
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Querying Amazon SES event logs

You can use Amazon Athena to query Amazon Simple Email Service (Amazon SES) event logs.

Amazon SES is an email platform that provides a convenient and cost-effective way to send and receive email using your own email addresses and domains. You can monitor your Amazon SES sending activity at a granular level using events, metrics, and statistics.

Based on the characteristics that you define, you can publish Amazon SES events to Amazon CloudWatch, Amazon Data Firehose, or Amazon Simple Notification Service. After the information is stored in Amazon S3, you can query it from Amazon Athena.

For an example Athena CREATE TABLE statement for Amazon SES logs, including steps on how to create views and flatten nested arrays in Amazon SES event log data, see "Step 3: Using Amazon Athena to query the SES event logs" in the Amazon blog post Analyzing Amazon SES event data with Amazon Analytics Services.