### What Grafana version are you using? 5.2.3 ### What datasource are you using? Elasticsearch 6.4.0 Metricbeat 6.4.0 ### What OS are you running grafana on? MacOS High Sierra ### What did you do? Created an alert for memory usage and tested rule.  ### What was the expected result?  ### What happened instead?   #### This happens only if the `Group By` `Terms` `Size` is set to `No limit` in the **Metrics** section. Once the `Size` is set to any decimal value, the alert works. 