Show only most recent / latest event?


we have some logs which indicates the status of a service (ok, warning, critical).
Is it possible to visualize only the most recent event?
I would like to build a traffic light dashboard (red, yellow, green) to have a fast overview over our system, combined with more details like response times histogram.

PS: Target is kibana 5

Thanks, Andreas

Gathering this information entirely at query time can be computationally expensive, so a common way to make it scalable and efficient, is to create a separate entity-centric index as discussed in this thread: Pipelined Histogram Aggregation?