# Using Alert in Elasticsearch?

**URL:** https://discuss.elastic.co/t/using-alert-in-elasticsearch/888
**Category:** Elasticsearch
**Created:** [May 19, 2015, 8:52am UTC](https://discuss.elastic.co/t/using-alert-in-elasticsearch/888 "2015-05-19T08:52:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Aymen\_Zaghouani](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@Aymen\_Zaghouani](https://discuss.elastic.co/u/Aymen_Zaghouani)
#### Post date: [May 19, 2015, 8:52am UTC](https://discuss.elastic.co/t/using-alert-in-elasticsearch/888/1 "2015-05-19T08:52:54Z")

</div>

Hello,  
I have data written into Elasticsearch in near real time and i want to be alerted when that data matches certain patterns, ElastAlert is the tool for doing this. However i want to use alert in java API, it's possible ?

Best Regards.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 20, 2015, 7:49am UTC](https://discuss.elastic.co/t/using-alert-in-elasticsearch/888/2 "2015-05-20T07:49:17Z")

</div>

It doesn't look like it based on my skimming their docs.

We have just released the Watcher product that will do this 😄

---

<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:13am UTC](https://discuss.elastic.co/t/using-alert-in-elasticsearch/888/3 "2017-07-06T00:13:10Z")

</div>


