# Alert checking for 0 documents stopped firing

**URL:** <https://discuss.elastic.co/t/alert-checking-for-0-documents-stopped-firing/282312>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [August 24, 2021, 8:13am UTC](https://discuss.elastic.co/t/alert-checking-for-0-documents-stopped-firing/282312 "2021-08-24T08:13:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wlbsxnlp22](https://avatars.discourse-cdn.com/v4/letter/w/f17d59/32.png) [@wlbsxnlp22](https://discuss.elastic.co/u/wlbsxnlp22)\
**Post date:** [August 24, 2021, 8:13am UTC](https://discuss.elastic.co/t/alert-checking-for-0-documents-stopped-firing/282312/1 "2021-08-24T08:13:24Z")

</div>

Hi,  
We have been running an alert that checks for 0 new documents over a specific time and sends an email. This worked fine but seems to have stopped working right after we updated our stack to 7.13.4.

The email function works fine and if we define the condition for the same index but with above instead of below it triggers (if set apprioprietely).

We have tried using both is below 1 and is below or equals 0, neither works anymore, but it used to.

Does anyone have an idea how to fix this? Is it a bug introduced in the 7.13.4 version?  
Is there another way to monitor for no activity in an index to get around this issue?

Here is one example of settings that used to work:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/1/1188bbefd01c8d0e28a8783e647114799412bb98.png)

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [August 25, 2021, 1:28pm UTC](https://discuss.elastic.co/t/alert-checking-for-0-documents-stopped-firing/282312/2 "2021-08-25T13:28:17Z")

</div>

This looks exactly like a known bug: [index threshold rule does not work as expected with a threshold below a value · Issue #103922 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/103922)

The fix for this will be available in 7.14.1

---

<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:** [September 22, 2021, 1:28pm UTC](https://discuss.elastic.co/t/alert-checking-for-0-documents-stopped-firing/282312/3 "2021-09-22T13:28:44Z")

</div>

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