# Running multiple logstash.conf file in same machine

**URL:** <https://discuss.elastic.co/t/running-multiple-logstash-conf-file-in-same-machine/238819>\
**Category:** Logstash\
**Created:** [June 26, 2020, 9:13am UTC](https://discuss.elastic.co/t/running-multiple-logstash-conf-file-in-same-machine/238819 "2020-06-26T09:13:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TUSHAR\_Sinha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tushar_sinha/32/69782_2.png) [@TUSHAR\_Sinha](https://discuss.elastic.co/u/TUSHAR_Sinha)\
**Post date:** [June 26, 2020, 9:13am UTC](https://discuss.elastic.co/t/running-multiple-logstash-conf-file-in-same-machine/238819/1 "2020-06-26T09:13:35Z")

</div>

Hi, community,

I have log files of different software running and the log pattern is different. I want to create two different logstash.conf file to filter them both and index into one elasticsearch server. How can I do it?  
One logstash is running and collecting data from filebeats, the other one will directly fetch the data from the files location. Can anyone help me with this, running multiple logstash in a single system at the same time.

---

<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 24, 2020, 9:13am UTC](https://discuss.elastic.co/t/running-multiple-logstash-conf-file-in-same-machine/238819/2 "2020-07-24T09:13:35Z")

</div>

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