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

feita há um mês85 visualizações
1 Resposta
1
Resposta aceita

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
ESPECIALISTA
Matt-B
respondido há um mês
profile picture
ESPECIALISTA
avaliado há um mês
  • 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 🙂👍

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas