I’m going to use this ElasticSearch query in the Grafana:
But the result in Grafana is something like this:
How can I remove the field part in the Grfafana?
I manipulated the native ElasticSearch data source plugin. Now if the field does not have value and the script has, It will only use the script in an inline tag.
The result is something like this:
“aggs”:{“3”:{“sum”:{“script”:{“inline”:“Double.parseDouble(doc[‘load-value’].value)”}}}}