Query returns results, but alert returns 'NO DATA'

Grafana Version: 6.2.5
ElasticSearch Version: 6.8.3

The query I am using is returning results without any issue, see image below:

But the Alert on the same page consistently returns ‘NO DATA’

I’ve tried changing the alert conditions, time range, how often it evaluates. All with no luck, if anyone has any insight into this it would be muchly appreciated.

Try this:
Evaluate: 20s For 2m

WHEN: sum() is above 1

Fadjar Tandabawana

Thanks for the suggestion, sorry it took me so long to come back to this one. I did and we are still getting No DATA unfortunately.

Try to change the Condition of the alert to sum() not avg()
Because the avg will average the metric in the evaluation period.
Using sum() will summing the metric result.

Fadjar Tandabawana

Tried sum, count, min and max. All still returned no data.

Maybe I made a mistake…
I saw your data in the first post, the data occurred in the little bit long range of time.
Perhaps, you could change the evaluation period like this:
Evaluation every 1m for 10m.
to check the data, you can change the time range to 1 hour, then you can see the occurrence the data, then just tune the alert trigger rule