# Notify to user when es node goes up

**URL:** <https://discuss.elastic.co/t/notify-to-user-when-es-node-goes-up/179351>\
**Category:** Elasticsearch\
**Created:** [May 2, 2019, 11:34am UTC](https://discuss.elastic.co/t/notify-to-user-when-es-node-goes-up/179351 "2019-05-02T11:34:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaurav22.Kumar](https://avatars.discourse-cdn.com/v4/letter/g/e5b9ba/32.png) [@Gaurav22.Kumar](https://discuss.elastic.co/u/Gaurav22.Kumar)\
**Post date:** [May 2, 2019, 11:34am UTC](https://discuss.elastic.co/t/notify-to-user-when-es-node-goes-up/179351/1 "2019-05-02T11:34:01Z")

</div>

How can we get notification when Elastic search node goes up after some time . I need a listener so we can add node at run time through java api.

---

<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 2, 2019, 7:56pm UTC](https://discuss.elastic.co/t/notify-to-user-when-es-node-goes-up/179351/2 "2019-05-02T19:56:28Z")

</div>

> [@Gaurav22.Kumar](#):
>
> I need a listener so we can add node at run time through java api.

There's no way to do that.

You'd need to use something like `_cat/nodes` and then track the nodes yourself to determine when a new node is added.

---

<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:** [May 30, 2019, 7:56pm UTC](https://discuss.elastic.co/t/notify-to-user-when-es-node-goes-up/179351/3 "2019-05-30T19:56:31Z")

</div>

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