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 🙂👍

已提問 1 個月前檢視次數 86 次
1 個回答
1
已接受的答案

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
專家
Matt-B
已回答 1 個月前
profile picture
專家
已審閱 1 個月前
  • 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 🙂👍

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南