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

posta un mese fa85 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
Matt-B
con risposta un mese fa
profile picture
ESPERTO
verificato un mese fa
  • 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 🙂👍

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande