简体   繁体   中英

Grafana not displaying data from Elasticsearch datasource

I am trying to set up a very simple timeseries in elasticsearch to display in grafana. I just want an index that has documents with a ts field and a count_rejected field. I've got elasticsearch and graphana up and running, and I've added an elasticsearch datastore. So far so good. I set up the query in the attached image, and as you can see there is a data point in the response. However the graph shows "No data points". How is it that my query has data but the graph is blank?

要求Elasticsearch

I was not grouping my data properly. I am not sure why graphana wasn't displaying any data, but I was able to figure out how to make it work. 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM