I have been sending emails through SES for a few months on 3 of my website products. I can see how many emails are sent through the billing function, but I would like to see which product (and eventually which particular client) is sending the emails. I have tried to get Cloudwatch up and going, but am having difficulty.
Current setup:
SES Configuration Set 'test2'
Destination: Cloudwatch
Event Type: Send, Delivery, Click
Dimensions: Email Header - DIMENSION NAME - ses:configuration-set - Default Value=test2
SMTP script adds the following header:
addTextHeader('X-SES-CONFIGURATION-SET','test2');
The problem: In CloudWatch, I see the send 'event', I think, but it's not tracking the quantity of emails that are sent. When I test it, I send 7 or 8 emails to my various email addresses, and I expect to see 7 on the CloudWatch Metrics when I ask it to graph my SES statistics. However, it only ever shows '1' on the graph - regardless of the quantity of emails that I sent.
How can this show me the quantity of emails sent - by 'config set' or by 'tag' - for when I eventually set it to show statistics for 'website1', 'website2', and 'website3'?
question from:
https://stackoverflow.com/questions/65872537/ses-transactional-email-cloudwatch-track-sends 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…