# Alert while the value is going beyond the limit

**URL:** https://discuss.elastic.co/t/alert-while-the-value-is-going-beyond-the-limit/58445
**Category:** Elasticsearch
**Created:** [August 19, 2016, 10:32am UTC](https://discuss.elastic.co/t/alert-while-the-value-is-going-beyond-the-limit/58445 "2016-08-19T10:32:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ravi\_Shanker\_Reddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@Ravi\_Shanker\_Reddy](https://discuss.elastic.co/u/Ravi_Shanker_Reddy)
#### Post date: [August 19, 2016, 10:32am UTC](https://discuss.elastic.co/t/alert-while-the-value-is-going-beyond-the-limit/58445/1 "2016-08-19T10:32:16Z")

</div>

I want to send an alert while I inserting a document with a value more than I configured. Suppose if I configured the KPI as \>75 and it crosses it I need a alert.

Sample doc  
`{ "user" : "Kimanchi", "KPI" : 60 }`

Suppose if i inserted the below doc I need an email alert  
`{ "user" : "Kimanchi", "KPI" : 72 }`

For this i saw `elastalert. Is there any pre-build functions are there in elastic-search for these type of requirements???

---

<div class="post-metadata">

### Author: ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)
#### Post date: [August 19, 2016, 1:07pm UTC](https://discuss.elastic.co/t/alert-while-the-value-is-going-beyond-the-limit/58445/2 "2016-08-19T13:07:21Z")

</div>

The [Watcher Plugin](https://www.elastic.co/products/watcher) can do this for you, but do note that it's a commercial plugin. Or you could setup some [Percolators](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-percolate.html) which your application monitors and alerts on

Elasticsearch itself does not have any to actually push out alerts via email, pager-duty, etc. You'll need to either use Watcher or code that yourself in your application.

---

<div class="post-metadata">

### Author: ![Ravi\_Shanker\_Reddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@Ravi\_Shanker\_Reddy](https://discuss.elastic.co/u/Ravi_Shanker_Reddy)
#### Post date: [August 22, 2016, 4:29am UTC](https://discuss.elastic.co/t/alert-while-the-value-is-going-beyond-the-limit/58445/3 "2016-08-22T04:29:37Z")

</div>

Can you please show any example on how to use percolators in this scenario???

How reabile this `elasalert`?? [http://elastalert.readthedocs.io/en/latest/elastalert.html](http://elastalert.readthedocs.io/en/latest/elastalert.html)

---

<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 5, 2017, 10:26pm UTC](https://discuss.elastic.co/t/alert-while-the-value-is-going-beyond-the-limit/58445/4 "2017-07-05T22:26:19Z")

</div>


