# Create watchers in kibana

**URL:** <https://discuss.elastic.co/t/create-watchers-in-kibana/153667>\
**Category:** Kibana\
**Created:** [October 23, 2018, 6:47pm UTC](https://discuss.elastic.co/t/create-watchers-in-kibana/153667 "2018-10-23T18:47:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anders.borjeson](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@anders.borjeson](https://discuss.elastic.co/u/anders.borjeson)\
**Post date:** [October 23, 2018, 6:47pm UTC](https://discuss.elastic.co/t/create-watchers-in-kibana/153667/1 "2018-10-23T18:47:51Z")

</div>

In Kibana GUI  
Management -\> Elasticsearch -\> Watcher  
I created a threshold alert

but I do not understand the conditions, and how they work  
Can anyone explain How I shall use the following condition

When max() Of "one of my variables" GROUPED OVER top 5 "Another of my variables" IS ABOVE 1000 for the last 5 minutes

I can not find any information on how to interpret the available conditions.

When max() Of VARIABLE\_A ( my guess is that if max value of the variable )  
GROUPED OVER top 5 of VARIABLE\_B (my guess would be that if VARIABLE\_A is greater than VARIABLE\_B - something should happen)  
but what is "IS ABOVE 1000" - why do we have the possibility of setting 2 limits

So if someone can explain how to use the condition section - it would be great

br  
/Anders

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 24, 2018, 12:50pm UTC](https://discuss.elastic.co/t/create-watchers-in-kibana/153667/2 "2018-10-24T12:50:56Z")

</div>

This page has examples that should be able to help you: [https://www.elastic.co/guide/en/kibana/current/watcher-create-threshold-alert.html](https://www.elastic.co/guide/en/kibana/current/watcher-create-threshold-alert.html)

---

<div class="post-metadata">

**Author:** ![anders.borjeson](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@anders.borjeson](https://discuss.elastic.co/u/anders.borjeson)\
**Post date:** [October 25, 2018, 6:26pm UTC](https://discuss.elastic.co/t/create-watchers-in-kibana/153667/3 "2018-10-25T18:26:09Z")

</div>

Thanks Marius

---

<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:** [November 22, 2018, 6:28pm UTC](https://discuss.elastic.co/t/create-watchers-in-kibana/153667/4 "2018-11-22T18:28:17Z")

</div>

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