# Multiple logstash instance running

**URL:** <https://discuss.elastic.co/t/multiple-logstash-instance-running/53173>\
**Category:** Logstash\
**Created:** [June 17, 2016, 4:34pm UTC](https://discuss.elastic.co/t/multiple-logstash-instance-running/53173 "2016-06-17T16:34:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jay224](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jay224](https://discuss.elastic.co/u/jay224)\
**Post date:** [June 17, 2016, 4:34pm UTC](https://discuss.elastic.co/t/multiple-logstash-instance-running/53173/1 "2016-06-17T16:34:13Z")

</div>

In our environment we have multiple logstash harvestor running at same time. PS on commna line looks like this

"logstash 1668 129 3.9 10291044 1302464 ? SNl 12:07 27:08 /usr/bin/java -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -Djava.awt.headless=true ......"

"logstash 7269 142 3.9 11167796 1294084 ? SNl 12:18 14:13 /usr/bin/java -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -Djava.awt.headless=true ...."

How can you find out which Logstash s running for which coifig file? I want to kill one of the ls but don't know which thread is for which config.

Is there a way to find that out?

---

<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:** [June 19, 2016, 3:49am UTC](https://discuss.elastic.co/t/multiple-logstash-instance-running/53173/2 "2016-06-19T03:49:36Z")

</div>

Unless you are passing specific config paths into these processes when you run them, they will all be using the default and likely running the same config.

---

<div class="post-metadata">

**Author:** ![jay224](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jay224](https://discuss.elastic.co/u/jay224)\
**Post date:** [June 20, 2016, 3:52pm UTC](https://discuss.elastic.co/t/multiple-logstash-instance-running/53173/3 "2016-06-20T15:52:43Z")

</div>

Okay, I can see the way it is configured is location to config folder is specified and all config files are copied to config folder.

---

<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, 4:51am UTC](https://discuss.elastic.co/t/multiple-logstash-instance-running/53173/4 "2017-07-06T04:51:50Z")

</div>


