0
votes

I created an alarm in Cloudwatch that will email responsible people when there are errors across all lambdas. The problem is when i receives an alarm, i do not know how to find the exact lambda that cause this (i have over 100 lambdas). Is there a easy way to find out which lambda caused the alarm?

Metric: lambda -> across all functions -> errors

Statistic: Sum

Period: 5 minutes

1
How have you defined this alarm? What metric triggers it? - John Rotenstein
@JohnRotenstein, i have edited my question - Nguyen Tan Bao
Did you check from the CloudTrail events? - Kulasangar

1 Answers

0
votes

One option would be to have the alarm trigger an AWS Lambda function.

The Lambda function could then retrieve all alarms for Lambda errors, looking for which alarms would have contributed to the metric. The Lambda function could then construct a more informative message to send via email or via an Amazon SNS topic.