Command to run multiple instances of logstash in windows

I want to run multiple instances of logstash on my windows system. In elasticsearch to run multiple nodes at once I used below command.
bin/elasticsearch -Epath.logs=log1
bin/elasticsearch -Epath.logs=log2 etc...
So by defining the different parameters I could run multiple instances of ES. Can same be done with logstash. I tried bin/logstash -f sample.conf but did not work.
Thanks in advance... :blush:

Yes. You need to specify a different for each instance.

Thank you,
I got this. First create a directory and then specify the same path in command after
It worked :+1::+1:

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