# Retrieve events count by last minute

**URL:** https://discuss.elastic.co/t/retrieve-events-count-by-last-minute/33034
**Category:** Kibana
**Created:** [October 27, 2015, 1:56am UTC](https://discuss.elastic.co/t/retrieve-events-count-by-last-minute/33034 "2015-10-27T01:56:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Nemesis\_UO](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@Nemesis\_UO](https://discuss.elastic.co/u/Nemesis_UO)
#### Post date: [October 27, 2015, 1:56am UTC](https://discuss.elastic.co/t/retrieve-events-count-by-last-minute/33034/1 "2015-10-27T01:56:22Z")

</div>

Hello. I have a field "event\_type" (DEBUG, INFO, ERROR, FATAL). How to find events count by last minute and "event\_type" in Kibana 4?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 27, 2015, 2:58am UTC](https://discuss.elastic.co/t/retrieve-events-count-by-last-minute/33034/2 "2015-10-27T02:58:22Z")

</div>

Change the time window that KB is using to the last minute. Otherwise you may be able to build a scripted field to show it.

---

<div class="post-metadata">

### Author: ![Nemesis\_UO](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@Nemesis\_UO](https://discuss.elastic.co/u/Nemesis_UO)
#### Post date: [October 27, 2015, 3:26am UTC](https://discuss.elastic.co/t/retrieve-events-count-by-last-minute/33034/3 "2015-10-27T03:26:28Z")

</div>

@warkolm thanks. I solved my problem.

---

<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, 2:10pm UTC](https://discuss.elastic.co/t/retrieve-events-count-by-last-minute/33034/4 "2017-07-06T14:10:36Z")

</div>


