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

gefragt vor einem Monat86 Aufrufe
1 Antwort
1
Akzeptierte Antwort

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
EXPERTE
Matt-B
beantwortet vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat
  • 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 🙂👍

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen