# Changing Default Logstash Port - 5044

**URL:** <https://discuss.elastic.co/t/changing-default-logstash-port-5044/196091>\
**Category:** Logstash\
**Created:** [August 21, 2019, 11:17am UTC](https://discuss.elastic.co/t/changing-default-logstash-port-5044/196091 "2019-08-21T11:17:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakesh15](https://avatars.discourse-cdn.com/v4/letter/r/49beb7/32.png) [@rakesh15](https://discuss.elastic.co/u/rakesh15)\
**Post date:** [August 21, 2019, 11:17am UTC](https://discuss.elastic.co/t/changing-default-logstash-port-5044/196091/1 "2019-08-21T11:17:23Z")

</div>

Hi All,

I would like to change the default logstash port from 5044 to 6044. Can any one please share some pointers for the same.

I'm trying to run multiple instances of logstash on same machine. Is running Logstash using different port number a good approach or should opt for some better approach?

Thanks and Regards,  
Rakesh Chhabria.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 21, 2019, 11:55am UTC](https://discuss.elastic.co/t/changing-default-logstash-port-5044/196091/2 "2019-08-21T11:55:44Z")

</div>

If you are referring to the beats input you can change the [port](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html#plugins-inputs-beats-port) option.

It may make sense to run multiple instances or it may make sense to run multiple pipelines in a single logstash instance.

---

<div class="post-metadata">

**Author:** ![rakesh15](https://avatars.discourse-cdn.com/v4/letter/r/49beb7/32.png) [@rakesh15](https://discuss.elastic.co/u/rakesh15)\
**Post date:** [August 22, 2019, 7:02am UTC](https://discuss.elastic.co/t/changing-default-logstash-port-5044/196091/3 "2019-08-22T07:02:15Z")

</div>

Hi Badger,

I need to parse and ingest logs of 10 different application into elasticsearch. For each application I have written a grok filter to parse and process the output to elastic.

Now instead of running one instance of logstash and processing all the logs there, I would like to distribute the load by running 2 or more instances of logstash to process the application logs.

Need to understand the best practice to implement the same.

---

<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:** [September 19, 2019, 7:02am UTC](https://discuss.elastic.co/t/changing-default-logstash-port-5044/196091/4 "2019-09-19T07:02:18Z")

</div>

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