Filter to specific text in grafana alert

Hello everyone,

I have a question regarding setting up an alert in Grafana. I have a dashboard with a visualization that includes several applications sourced from CloudWatch. All the data is related to stopped messages. Some of these applications include the acronym “DLQ” within the names to indicate different types of messages.

I want to create an alert that encompasses all applications containing the “DLQ” acronym. However, since the acronym is embedded within the application names, I’m struggling with setting up the appropriate filter. I know how to specify the dimension, but I’m unsure what to put after the “=” to correctly apply the filter.

I’ve already tried using regex but haven’t had any success.

Any guidance on how to set up this filter would be greatly appreciated.

Thank you!

You can’t filter it on the query level with regex, because CloudWatch API doesn’t support it.
I would select all * queue names and then route “unwanted” queue names to “/dev/null” contact point with notification policy. It’s not perfect, but it “works”.

1 Like

Thank you so much for the reply, I’ll try it here!