[CloudWatch] when an alarm fires based on a metric, how to quickly get the corresponding raw logs ?

0

For example, for CloudWatch RUM, the JsErrorCount metrics is simply the count of JavaScript error events ingested.

Currently , when an alarm fires due to a spike of JsErrorCount, there are no easy to quickly extract the corresponding raw JavaScript error events to facilitate root-causing/troubleshooting: Enter image description here

Right now, I have to manually locate those log entries via Log Insights: Enter image description here

It is less ideal and time-consuming.

Is there a quick way(e.g. generated direct_link) to quick fetch the raw_logs/events that triggered an CloudWatch alarm ?

Many thanks in advance

已提问 2 个月前360 查看次数
1 回答
1
已回答 2 个月前
profile picture
专家
已审核 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则