Last value of a series kibana

Hi there,

I am creating a table that counts apache accesses. I like to have the count number on the table so that I have an idea of which clients are sending most requests.
If I add @timestamp to the table, then I don't get a proper count - obviously, as the rows from the same origin will no longer be the same.

But is there a way to show the last @timestamp for that client on the table?



Hi @francisaugusto
Can I ask you if you can provide an example of what the table should looks like?
Are you trying to aggregate apache access by client (ip or another ID), sorting them by count and also displaying the last timestamp for each client? something like

client ip count last seen 100 2019-03-04 00:00:01:000 88 2019-02-04 00:00:01:000 52 2019-02-04 00:00:01:000 23 2019-06-04 00:00:01:000

If this is your request I think you can use a Data Table visualization with two metrics: count and top hits like in the following screenshot. The Bucket is a Terms aggregation on client ips, with the sorting based on the count metric.
Than I've added a second metric to display the Top Hits of the timestamp field


@markov00 Thanks a lot! That's exactly what I was hoping to implement.

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