# Show only most recent / latest event?

**URL:** https://discuss.elastic.co/t/show-only-most-recent-latest-event/64410
**Category:** Kibana
**Created:** [October 31, 2016, 8:24am UTC](https://discuss.elastic.co/t/show-only-most-recent-latest-event/64410 "2016-10-31T08:24:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)
#### Post date: [October 31, 2016, 8:24am UTC](https://discuss.elastic.co/t/show-only-most-recent-latest-event/64410/1 "2016-10-31T08:24:54Z")

</div>

Hi,

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

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [October 31, 2016, 8:42am UTC](https://discuss.elastic.co/t/show-only-most-recent-latest-event/64410/2 "2016-10-31T08:42:28Z")

</div>

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?](https://discuss.elastic.co/t/pipelined-histogram-aggregation/63783)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 1:35pm UTC](https://discuss.elastic.co/t/show-only-most-recent-latest-event/64410/3 "2017-07-06T13:35:05Z")

</div>


