# Monitoring for No Logs

**URL:** <https://discuss.elastic.co/t/monitoring-for-no-logs/357521>\
**Category:** Elastic Observability\
**Created:** [April 16, 2024, 2:03pm UTC](https://discuss.elastic.co/t/monitoring-for-no-logs/357521 "2024-04-16T14:03:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SomeRobot](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@SomeRobot](https://discuss.elastic.co/u/SomeRobot)\
**Post date:** [April 16, 2024, 2:03pm UTC](https://discuss.elastic.co/t/monitoring-for-no-logs/357521/1 "2024-04-16T14:03:12Z")

</div>

We have many indexes, and are consistently adding more to our cluster. We need to know when an index doesn't receive any documents in X number of minutes. For instance, if logs-foo hasn't received any documents in 1 hour, we want an alert to fire. Or if logs-bar hasn't received a document in 1 hour, fire an alert. The issue is we can set a watcher for this for each individual index, but not a generic catch-all. This is not scalable if we have to create a watcher for each index. Is there no way to create a watcher rule that looks at all indexes, and if there has been 0 documents ingested in X minutes in any one index, fire an alert specifying which index has not received documents?
