I use pie chart with es query. When I only group by terms, it doesn’t work, I need use then by date histogram select timestamp and select options other than automatic it work.
for example:
Can you toggle the button at the top (Table View) to display your data in a table and then post screenshots of each table under your various scenarios?
I think your data (in Table view) should NOT have a time field, and should have at least 1 category of data. I have never used Elasticsearch queries, but messing around with the dashboard at play.grafana.org, I got this for a 7-day view:
It looks like Grafana is interpreting the Getcontactlist_code (1432, 1200, 1100) as a numerical value and not as a string or name. Could you modify your data so that it’s called “Code 1432”, “Code 1200”, “Code 1100”, etc.? This may require a new reference table somewhere in your data.
it is hard to modify my data because the data is too large.
now I just need use the code to replace the ‘count’,but I’d know how to do that.
this is my last problem of using grafana.