Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run two logstash instance in same machine

Tags:

logstash

I want to run two logstash instance in same machine. Now i am starting the logstash by using the command.logstash.bat agent -f logstashconf.conf. But when i am going to start the second instance via same command results some port binding issues. So is there is any parameter available that user can explicitly configure the port by using command line?. Also is there is any further issues happens while i running more than one instance of logstash in same machine?

like image 317
Anish Antony Avatar asked Jul 31 '26 10:07

Anish Antony


1 Answers

Basicly you can copy your logstash folder to a new folder and run another instance within the new folder. and you can change config file to specify different path.data

like image 188
G.Wang Avatar answered Aug 03 '26 12:08

G.Wang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!