-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get only last value #2338
Comments
Unfortunately this is not currently possible. You could sort of accomplish this will elasticsearch's top_hits aggregation, but we don't currently support it in Kibana. There is a ticket (#2024) to implement a table view using top_hits, but I'm not sure a pie would be useful here as each slice would only contain a single value? |
Could it be possible if I create a scripted dashboard and make use of top_hits aggregation? |
scripted dashboards don't allow you to create custom aggs |
it's good to know. |
Dupe of #678 |
In my dashboard, I would like to show the last status value of my hosts creating a term pie panel.
For example, in the last hour, a host has been checked 3 times,
The first time I get:
HOST STATUS TIMESTAMP
host1 Warning 12:15
host2 OK 12:20
The second time,
host1 Critical 12:30
host2 OK 12:35
The last time,
host1 OK 12:45
host2 Critical 12:50
With Kibana, my term pie panel shows 3 portions on it:
1-Warning, 2-Critical and 3-OK
What I would like to get, is the last value: OK for host1 and Critical for host2.
If this possible with Kibana? Is there any filter or way to only get the last value depending on the timestamp?
Thank you
The text was updated successfully, but these errors were encountered: