# Alert when data is not coming from last 5 minute

**URL:** https://discuss.elastic.co/t/alert-when-data-is-not-coming-from-last-5-minute/337517
**Category:** Elasticsearch
**Created:** [July 4, 2023, 6:24am UTC](https://discuss.elastic.co/t/alert-when-data-is-not-coming-from-last-5-minute/337517 "2023-07-04T06:24:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Aniket\_Pant](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)
#### Post date: [July 4, 2023, 6:24am UTC](https://discuss.elastic.co/t/alert-when-data-is-not-coming-from-last-5-minute/337517/1 "2023-07-04T06:24:15Z")

</div>

We are monitoring multiple servers with metricbeat and we want to create an alert when no data is receiving from last 5 minutes. I have check [Index Threshold](https://www.elastic.co/guide/en/kibana/7.17/rule-type-index-threshold.html) type

But how we will check for each source ? We need to create one alert and within that alert we need to check for each source that is data is coming if not then we will assume that metricbeat is stopped in that server.

If anyone knows what could be the query for not receiving data from last 5 minute then it will also be fine.

---

<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: [August 1, 2023, 6:24am UTC](https://discuss.elastic.co/t/alert-when-data-is-not-coming-from-last-5-minute/337517/2 "2023-08-01T06:24:50Z")

</div>

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