How to use Alerts when working with CloudWatch Logs Insights

The following is how my query looks like ( Basically tracking 5xx errors ) :

Now, I would ideally want an alert whenever a “ERROR …” is logged by my system (5xx error ).

This is my alert condition :

Alerts work fine but I would want more information like what is the message in the alert itself.

Is there anything I could do to make my alert message more verbose? I would ideally want to send fields like timestamp and message in the notification itself.

3 Likes

Hey, did you figure this out? I am looking to do the same thing.

hello @mamakancha did you find the solution?