Create a table & graph that takes only the last value and puts it in the table or graph in Kibana

I am looking to replace our Splunk SIEM or add another platform, our purpose is to send diagnostics data from our instances and filter it out.

most of the information will be sent in JSON format,

I am gathering information on an hourly basis in JSON format. the information checks for specific OS values in an array
for example:

"os": [ { "id": "Windows 7", "count": 100 } , { "id": "Windows 8", "count": 30 } ]

the only thing that might change is the count value.

I am trying to create a table & graph that takes only the last value and puts it in the table.
In Splunk, I could create an average using the "span" command to have an average for a predefined time.

So even though the table or graph is showing information in the last week, every timestamp averages the data from the last 30minutes.

I couldn't find a way to do it in Kibana, or any documentation regarding it.

You can use the top hits aggregation to obtain the latest value while running aggregations.

In the example below, I added top hits metric to add the latest value to the table

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.