I am able to successfully create an alert using CloudWatch Log Insights query syntax for a single query. But now I’d like to use two queries and compare their values before alerting.
When I hit preview, it seems like only one of the queries is returning data. Does anyone know if this is a Grafana limitation? My queries are identical in set up and the only difference is the lookback period (65 seconds vs 600 seconds).
I’ve attached an image. You can see the first query has a drawn chart, while the second query returns no data.
You should be able to do that. Can you paste the second query in explore view and see if there’s some data? Also notice that range is different (first one is now - 1h, the second is now - 15m - I don’t know if that’s important but well… ). I’ve seen alerts with around ten queries (Prometheus datasource but still), so it shouldn’t be Grafana limitation.