# Alerting on documents with 2 conditions

**URL:** <https://discuss.elastic.co/t/alerting-on-documents-with-2-conditions/162249>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [December 27, 2018, 2:34pm UTC](https://discuss.elastic.co/t/alerting-on-documents-with-2-conditions/162249 "2018-12-27T14:34:58Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Chris\_Meyer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_meyer/32/39214_2.png) [@Chris\_Meyer](https://discuss.elastic.co/u/Chris_Meyer)\
**Post date:** [December 27, 2018, 8:26pm UTC](https://discuss.elastic.co/t/alerting-on-documents-with-2-conditions/162249/6 "2018-12-27T20:26:38Z")

</div>

Update: Looks like `filter` doesn't exist how I was using it anymore, according to this post:

> [@Unknown key for a START\_OBJECT in \[filter\]](https://discuss.elastic.co/t/unknown-key-for-a-start-object-in-filter/105775/2):
>
> Please format your code using \</\> icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable. Or use markdown style like: ``` CODE ``` filter does not exist. Where did you see that? Old documentation I guess...

So I guess I have to fix that.

---

_[View the full topic](https://discuss.elastic.co/t/alerting-on-documents-with-2-conditions/162249)._
