# How to check where logstash conf file is running or not through program

**URL:** <https://discuss.elastic.co/t/how-to-check-where-logstash-conf-file-is-running-or-not-through-program/66849>\
**Category:** Logstash\
**Created:** [November 22, 2016, 11:50am UTC](https://discuss.elastic.co/t/how-to-check-where-logstash-conf-file-is-running-or-not-through-program/66849 "2016-11-22T11:50:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roshan](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@Roshan](https://discuss.elastic.co/u/Roshan)\
**Post date:** [November 22, 2016, 11:50am UTC](https://discuss.elastic.co/t/how-to-check-where-logstash-conf-file-is-running-or-not-through-program/66849/1 "2016-11-22T11:50:29Z")

</div>

Hi all,

Is there any way to check any logstash conf file running or not through command or any other way.  
I have multiple logastash file which are working on simultaneously.

Please suggest.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 22, 2016, 11:57am UTC](https://discuss.elastic.co/t/how-to-check-where-logstash-conf-file-is-running-or-not-through-program/66849/2 "2016-11-22T11:57:12Z")

</div>

How are you running Logstash? Classic SysV init? systemd? Something else?

---

<div class="post-metadata">

**Author:** ![Roshan](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@Roshan](https://discuss.elastic.co/u/Roshan)\
**Post date:** [November 22, 2016, 12:08pm UTC](https://discuss.elastic.co/t/how-to-check-where-logstash-conf-file-is-running-or-not-through-program/66849/3 "2016-11-22T12:08:42Z")

</div>

Hi Magenus,  
i am running logstash through cmd giving command like  
logstash -f filename.conf.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 22, 2016, 1:44pm UTC](https://discuss.elastic.co/t/how-to-check-where-logstash-conf-file-is-running-or-not-through-program/66849/4 "2016-11-22T13:44:13Z")

</div>

Then you have to use whatever facilities your operating system provides for tracking running processes.

---

<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:** [December 20, 2016, 1:44pm UTC](https://discuss.elastic.co/t/how-to-check-where-logstash-conf-file-is-running-or-not-through-program/66849/5 "2016-12-20T13:44:21Z")

</div>

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