# How to create a Watcher for no ingested logs for X minutes

**URL:** <https://discuss.elastic.co/t/how-to-create-a-watcher-for-no-ingested-logs-for-x-minutes/237842>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [June 19, 2020, 5:07pm UTC](https://discuss.elastic.co/t/how-to-create-a-watcher-for-no-ingested-logs-for-x-minutes/237842 "2020-06-19T17:07:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ckough](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ckough/32/61892_2.png) [@ckough](https://discuss.elastic.co/u/ckough)\
**Post date:** [June 19, 2020, 5:07pm UTC](https://discuss.elastic.co/t/how-to-create-a-watcher-for-no-ingested-logs-for-x-minutes/237842/1 "2020-06-19T17:07:06Z")

</div>

Hi There,

I'm using ELK 7.6. I have a question regarding watchers.

Is it possible to create a watcher that sends an alert when it detects that there are no new documents or indexes being created for the past, say 30, minutes?

Thanks,  
ck

---

<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:** [June 23, 2020, 11:00pm UTC](https://discuss.elastic.co/t/how-to-create-a-watcher-for-no-ingested-logs-for-x-minutes/237842/2 "2020-06-23T23:00:10Z")

</div>

You should be able to adapt [https://github.com/elastic/examples/tree/master/Alerting/Sample%20Watches/new\_process\_started](https://github.com/elastic/examples/tree/master/Alerting/Sample%20Watches/new_process_started) for that.

---

<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 21, 2020, 11:00pm UTC](https://discuss.elastic.co/t/how-to-create-a-watcher-for-no-ingested-logs-for-x-minutes/237842/3 "2020-07-21T23:00:14Z")

</div>

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