# Want to run multiple logstash instances in single machine

**URL:** <https://discuss.elastic.co/t/want-to-run-multiple-logstash-instances-in-single-machine/82805>\
**Category:** Logstash\
**Created:** [April 19, 2017, 1:52am UTC](https://discuss.elastic.co/t/want-to-run-multiple-logstash-instances-in-single-machine/82805 "2017-04-19T01:52:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raja1](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@Raja1](https://discuss.elastic.co/u/Raja1)\
**Post date:** [April 19, 2017, 1:52am UTC](https://discuss.elastic.co/t/want-to-run-multiple-logstash-instances-in-single-machine/82805/1 "2017-04-19T01:52:54Z")

</div>

Hi,

I am able to integrate kafka with logstash and then able to see the logs in kafka.Now i want to parse the logs from kafka to elasticsearch thru logstash by using same machine.

Can someone please guide me how to use 2 logstash instances in same machine?

Regards  
Raja

---

<div class="post-metadata">

**Author:** ![Raja1](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@Raja1](https://discuss.elastic.co/u/Raja1)\
**Post date:** [April 20, 2017, 1:40am UTC](https://discuss.elastic.co/t/want-to-run-multiple-logstash-instances-in-single-machine/82805/2 "2017-04-20T01:40:16Z")

</div>

Anybody there to help me on this?

---

<div class="post-metadata">

**Author:** ![mujtabahussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mujtabahussain/32/17514_2.png) [@mujtabahussain](https://discuss.elastic.co/u/mujtabahussain)\
**Post date:** [April 20, 2017, 2:00am UTC](https://discuss.elastic.co/t/want-to-run-multiple-logstash-instances-in-single-machine/82805/3 "2017-04-20T02:00:47Z")

</div>

Hey @Raja1

Could you elaborate a bit on why you want multiple logstash instances?

There are certainly ways to do it; however I just want to make sure that there is a need to do it at all 🙂

---

<div class="post-metadata">

**Author:** ![Raja1](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@Raja1](https://discuss.elastic.co/u/Raja1)\
**Post date:** [April 20, 2017, 8:51am UTC](https://discuss.elastic.co/t/want-to-run-multiple-logstash-instances-in-single-machine/82805/4 "2017-04-20T08:51:38Z")

</div>

Hi,

One of my customer using kafka for pipelining the application logs so they want the same to be implemented with ELK.

So My structure is Syslogs --\> logstash --\> Kafka --\> logstash --\>elasticsearch --\>kibana.

Hope you understand now?

Regards  
Raja

---

<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:** [May 18, 2017, 8:52am UTC](https://discuss.elastic.co/t/want-to-run-multiple-logstash-instances-in-single-machine/82805/5 "2017-05-18T08:52:57Z")

</div>

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