Separating X-axis values ​​in Kibana-4

I have an X axis with numbers from 100 to 1000. Therefore, when rendering, I would like the numbers to be divided by 100, and then render them. Is there any way to do this in Kiban 4?

+5
source share
1 answer

Directly below the Xaxis aggregation, as shown in the screenshot below, there is an “Advanced” option (red frame 1), where you can find the “JSON input” field (red box 2). enter image description here

In the "JSON input" input field, you can add the following script and achieve separation of the values ​​displayed on the X axis.

{"script":"(_value)/100"} 

A more detailed explanation of this can be found on the elasticsearch official blog: https://www.elastic.co/blog/kibana-4-beta-2-get-now/

+3
source

Source: https://habr.com/ru/post/1216514/


All Articles