0
I need to create a table visualization in Kibana, with logs associated with timestamp. I am able to populate first 2 columns Vehicle Name
and Count
using Aggregators and Terms . And the values changes as expected with the time-picker value.
What I need is the third column Rate
which is the relate change in percentage with reference to past value.
For example: when the user uses the time-picker to pick the time as last 1 hour . Count
column displays the last 1 hours sum value. The 3rd column Rate
should display past 2hr-to-1hr value.
Is there a way in elastic/kibana to populate such value?
(now - 1 hour)
|---------------------|----------------|----------------|
| Vehicle Name | Count | Rate(%) |
|---------------------|----------------|----------------|
| X1 | 34 | 0% |
|---------------------|----------------|----------------|
| X2 | 43 | 15% |
|---------------------|----------------|----------------|
| X3 | 41 | -10% |
|---------------------|----------------|----------------|
| X4 | 14 | -30% |
|---------------------|----------------|----------------|