[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

gefragt vor 2 Monaten359 Aufrufe
1 Antwort
1
beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen