# Event listener for local node getting added to cluster

**URL:** <https://discuss.elastic.co/t/event-listener-for-local-node-getting-added-to-cluster/121363>\
**Category:** Elasticsearch\
**Created:** [February 25, 2018, 5:57am UTC](https://discuss.elastic.co/t/event-listener-for-local-node-getting-added-to-cluster/121363 "2018-02-25T05:57:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fhalde](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fhalde/32/21419_2.png) [@fhalde](https://discuss.elastic.co/u/fhalde)\
**Post date:** [February 25, 2018, 5:57am UTC](https://discuss.elastic.co/t/event-listener-for-local-node-getting-added-to-cluster/121363/1 "2018-02-25T05:57:47Z")

</div>

I'm developing a plugin for ES and just wanted to know if it is possible in the plugin initializer to know when the local node got added to the cluster? I see events only for localNodeMaster

some sort of event that i can listen to

---

<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:** [March 25, 2018, 5:58am UTC](https://discuss.elastic.co/t/event-listener-for-local-node-getting-added-to-cluster/121363/2 "2018-03-25T05:58:50Z")

</div>

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