Kibana Timelion plugin how to specify a field in the elastic search
Timelion uses pre-defined time intervals for its time plots.In order to plot the "value" as function of time you can set the granularity to 'Auto' and use this string:
.es(metric='max:value')
You can also set the granularity to the minimum possible and add .fit(carry)
to the above string in order to fill null values, in that case you can replace max
with min
or avg
, it will produce the same plot (sum
won't work here).
.es(metric='sum:value')
Try above, it should work fine, make sure you configured timeline.json