# Can I run logstash service with a custom process name?

**URL:** <https://discuss.elastic.co/t/can-i-run-logstash-service-with-a-custom-process-name/150564>\
**Category:** Logstash\
**Created:** [October 1, 2018, 12:01pm UTC](https://discuss.elastic.co/t/can-i-run-logstash-service-with-a-custom-process-name/150564 "2018-10-01T12:01:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gireesh\_Deepak\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gireesh_deepak_r/32/35964_2.png) [@Gireesh\_Deepak\_R](https://discuss.elastic.co/u/Gireesh_Deepak_R)\
**Post date:** [October 1, 2018, 12:01pm UTC](https://discuss.elastic.co/t/can-i-run-logstash-service-with-a-custom-process-name/150564/1 "2018-10-01T12:01:38Z")

</div>

Hello Everyone,

I need to run two logstash instances in a single host (logstash multiple pipelines can't be considered for my use case), and need to setup monitoring on only one instance, so if I run two instances with same name there will be running two logstash processes with same name. That's why I could not able to setup monitoring on only one instance with the process name.

logstash instance 1- process name logstash - no monitoring  
logstash instance 2- process name xyz - need to setup monitoring

Could you please help me how to achieve that ? Also, let me know if there could be any issues when we run two instances in the production except OS resource consumption?

Thanks,  
Gireesh

---

<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:** [October 29, 2018, 12:01pm UTC](https://discuss.elastic.co/t/can-i-run-logstash-service-with-a-custom-process-name/150564/2 "2018-10-29T12:01:45Z")

</div>

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