Amazon SES Statistics by SMTP User

0

Hi everyone,

I would like to know the amount of sent emails split up by SMTP users, as I will distribute the credentials to different sites, and i want to monitor usage of it. At best, I imagine a visualization in a cloudwatch where I can also add alarming when send rates become too high.

I already figured out how to create configuration sets and link it to identities for monitoring, but actually i am not interested in the identities that the emails are sent for, but the users that initiated the sending process.

Thanks a lot for any hints 🙂👍

asked 13 days ago61 views
1 Answer
1
Accepted Answer

Hi There

Since you mentioned configuration sets, I assume you have your SES events streaming to S3 (take a look at htis blog: https://aws.amazon.com/blogs/messaging-and-targeting/analyzing-amazon-ses-event-data-with-aws-analytics-services/)

The logs will capture the ses:caller-identity which is the IAM identity of the Amazon SES user who sent the email (see https://docs.aws.amazon.com/athena/latest/ug/querying-ses-logs.html)

If you are capturing the logs in S3 and setup Athena per the blog post above, you could easily create a QuickSight dashboard showing the IAM user and the number of emails they sent. See https://docs.aws.amazon.com/quicksight/latest/user/create-a-data-set-athena.html

profile pictureAWS
EXPERT
Matt-B
answered 13 days ago
profile picture
EXPERT
reviewed 12 days ago
  • I aimed at getting it to work in Cloudwatch. The article that you shared described the detail that i missed. I had to assign a standard configuration set to all identities to finally get the IAM user logging to work. After linking configuration sets to identities, the metrics show up in Cloudwatch as expected. Thank you so much for the hint Matt 🙂👍

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions