Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display values with decimal places in Grafana with elasticsearch datasource?

I am trying to visualize time series data stored in elastic search using grafana. I have the legend setup to show 2 decimal places but it does not reflect in the UI.

The decimal places show up for other dashboard panels with a tsdb datasource. So this issue is specific to using grafana with elasticsearch. Is there any other configuration setup I am missing here which will help me achieve this?

enter image description here

enter image description here

like image 498
SKG Avatar asked Oct 14 '16 18:10

SKG


1 Answers

Just found out that elastic search does not allow displaying values without some sort of aggregation and in my case aggregation is resulting in values getting rounded.

There was a related request which seemed to not get much traction in kibana. https://github.com/elastic/kibana/issues/3572

In short not feasible as of [2.x] elastic search.

like image 137
SKG Avatar answered Oct 05 '22 11:10

SKG