I'm currently using logstash 5.5.
First i just make a copy of my logstash. So it will reside at
Make a data path
/var/lib/logstash2 ang log path
Then edit the yml config.
On the startup options I change the
SERVICE_NAME and SERVICE_DESCRIPTION to logstash2.
I run the
/bin/system-install /etc/logstash2 <--i don't know if this is right.
Then run the
service logstash2 start command.
I run successfully based on the
service logstash2 status.
BUT, there's no logs produced in
/var/log/logstash2 and there's no data was sent to my output which is elastissearch.
After which i tried to run my main logstash but it ended up broke as well. On the log of my main logstash, it says that it cannot find the config file or config file doesn't exist.
So, i uninstall my main logstash thru
yum remove logstash and install it again. Then my main logstash came back to work again.
Sadly, I just cant run multiple logstash as of this moment.