[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

posta 2 mesi fa359 visualizzazioni
1 Risposta
1
con risposta 2 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande