# Percolator used for alerting?

**URL:** <https://discuss.elastic.co/t/percolator-used-for-alerting/20327>\
**Category:** Elasticsearch\
**Created:** [October 20, 2014, 3:13am UTC](https://discuss.elastic.co/t/percolator-used-for-alerting/20327 "2014-10-20T03:13:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamhere2007](https://avatars.discourse-cdn.com/v4/letter/i/3da27b/32.png) [@iamhere2007](https://discuss.elastic.co/u/iamhere2007)\
**Post date:** [October 20, 2014, 3:13am UTC](https://discuss.elastic.co/t/percolator-used-for-alerting/20327/1 "2014-10-20T03:13:52Z")

</div>

many people say the cool feature of elasticsearch, that is, "percolator"  
can be used for alerting.  
however, from my point of view, percolator is just a predefined filter, and  
if used for alerting, repetitive polling is needed, so why use percolator,  
just use filter instead.  
in addition, the percolator needs some eventlistener-like to support  
"alerting". if anyone have successful application of alert using percolator  
like nagios, please share with me, thanks!

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9933f885-4373-468d-9f00-a968191a62c3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9933f885-4373-468d-9f00-a968191a62c3%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Seungjin\_Lee](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@Seungjin\_Lee](https://discuss.elastic.co/u/Seungjin_Lee)\
**Post date:** [October 20, 2014, 4:44am UTC](https://discuss.elastic.co/t/percolator-used-for-alerting/20327/2 "2014-10-20T04:44:34Z")

</div>

Percolator API is not a stand alone alerting system. As you said, it can be  
used for alerting and it's pretty nice in a sense.  
You're right, reptitive polling is required, but since it loads single  
document in a reserved memory and the way it works is well-optimized,  
performance of percolator API is I guess much better in terms of latency  
and throughput.  
Imagine how we develop an alerting system without percolator thing.  
Simplest system will store logs in database, retrieve them periodically and  
run a for loop to check if rule is matched. And there exist many problems  
such as synchronization, scaling out, and performance. Percolator resolves  
them all in my opinion perfectly.  
So why not use percolator?

2014-10-20 12:13 GMT+09:00 [iamhere2007@sina.cn](mailto:iamhere2007@sina.cn):

> many people say the cool feature of elasticsearch, that is, "percolator"  
> can be used for alerting.  
> however, from my point of view, percolator is just a predefined filter,  
> and if used for alerting, repetitive polling is needed, so why use  
> percolator, just use filter instead.  
> in addition, the percolator needs some eventlistener-like to support  
> "alerting". if anyone have successful application of alert using percolator  
> like nagios, please share with me, thanks!
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/9933f885-4373-468d-9f00-a968191a62c3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9933f885-4373-468d-9f00-a968191a62c3%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/9933f885-4373-468d-9f00-a968191a62c3%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/9933f885-4373-468d-9f00-a968191a62c3%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAL3\_U40mpViViSNHn5gTWjcuxkbqzXwM984A5z8MtNanAnp5pg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL3_U40mpViViSNHn5gTWjcuxkbqzXwM984A5z8MtNanAnp5pg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:55am UTC](https://discuss.elastic.co/t/percolator-used-for-alerting/20327/3 "2017-07-06T00:55:10Z")

</div>


