[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

demandé il y a 2 mois359 vues
1 réponse
1
répondu il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions