Run two instances of logstash on the same computer

I want to run two instances logstash

on one computer. Now I start logstash

using the command. logstash.bat agent -f logstashconf.conf

... But when I go to start the second instance via the same command, you get some port binding problems. So, is there a parameter available that the user can explicitly configure the port using the command line ?. Also are there any additional problems when I run more than one instance logstash

on the same computer?

+3


source to share


1 answer


Basically you can copy your log table folder to a new folder and start another instance in the new folder. and you can modify the config file to point to different path.data p>



+1


source







All Articles