[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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南