Bouffe
Bouffe

Reputation: 849

Cloudwatch SES reporting

Since few days, I'm sending metrics about my SES sending with a Configuration set and an Event destination to Cloudwatch. For each of my mails, I add some tags like campaign, language, etc...

In Cloudwatch, I can see one line per combinaison of my tags enter image description here

In Graphed metrics, I can create a new Math "SUM(METRICS()" to get the total of mails sent.

But my goal is to create custom lines, one specific campaign, whatever the language or the other tags. I've tried to create a custom expression : SUM(SEARCH('{SES,campaign} MetricName="Send" campaign="my-campaign"', 'Average', 3600))

But it show me no line, do you know why?

Thanks

Upvotes: 0

Views: 48

Answers (1)

fa44
fa44

Reputation: 420

You can have math operations associated to any metrics or group of metrics.

Once you will add a math operation, a column ID will appear. You can then use your math expression with the ID. If for example that ID is m1, you can use the expression like following:

SUM(m1)

Then you can uncheck your m1 expression and check only the SUM line.

Upvotes: 0

Related Questions