Graphana + ElasticSearch : Display Percentage


#1

Hi,

I need to display percentage on the Graphana dashboard from the result of two queries.

Query 1 - Queries elasticSearch and gets count based on a condition like requests sent.

Query 2 - Queries elasticSearch and gets count based on a condition like successful requests.

Now, I need to compute percentage of success and display on the dashboard. Can you please help.

Regards,
Kishore


#2

Elasticsearch does not currently support sub queries or dividing result of one query by another query. So this is currently not possible.


#3

Thanks Torkel for the quick response!

Regards,
Kishore


#4

Hello guys,

Sorry to revive this topic, but I would like to know if we have any change in this subject after 2 years :slight_smile:

Using grafana and elasticsearch, do we have any way to calculate percentage?