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?