# Listener after ES Node started

**URL:** <https://discuss.elastic.co/t/listener-after-es-node-started/25782>\
**Category:** Elasticsearch\
**Created:** [July 17, 2015, 9:27am UTC](https://discuss.elastic.co/t/listener-after-es-node-started/25782 "2015-07-17T09:27:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ESUser10](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@ESUser10](https://discuss.elastic.co/u/ESUser10)\
**Post date:** [July 17, 2015, 9:27am UTC](https://discuss.elastic.co/t/listener-after-es-node-started/25782/1 "2015-07-17T09:27:01Z")

</div>

HI,  
I write a Es plugin for scanning a file system.  
If ES is starting, how can I check in my Plugin if the node is ready? If the Node started then my Plugin run a scheduler.  
How can check in my Plugin if the Node is started ?

---

<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:** [July 18, 2015, 3:08am UTC](https://discuss.elastic.co/t/listener-after-es-node-started/25782/2 "2015-07-18T03:08:06Z")

</div>

ES will mention if it loads the plugin during start, so check the logs.  
Then it's entirely up to however you wrote the code as to what it will do.

> [@ESUser10](#):
>
> I write a Es plugin for scanning a file system.

You mean reading files off the FS? Why not just use Logstash with the file input?

---

<div class="post-metadata">

**Author:** ![ESUser10](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@ESUser10](https://discuss.elastic.co/u/ESUser10)\
**Post date:** [July 20, 2015, 7:03am UTC](https://discuss.elastic.co/t/listener-after-es-node-started/25782/3 "2015-07-20T07:03:21Z")

</div>

> [@warkolm](#):
>
> You mean reading files off the FS? Why not just use Logstash with the file input?

Logstash can not Parse the File Data. And i thing with Logstash is it not possible to write the parsed file data to a custom Mapping.

---

<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:** [July 23, 2015, 12:02am UTC](https://discuss.elastic.co/t/listener-after-es-node-started/25782/4 "2015-07-23T00:02:12Z")

</div>

You can definitely define your own mapping for LS to use!

---

<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, 11:59pm UTC](https://discuss.elastic.co/t/listener-after-es-node-started/25782/5 "2017-07-05T23:59:49Z")

</div>


