ENV:
CentOS release 6.8 (Final) 64bit
logstash 6.4.2
I installed logstash with yum.
I executed service logstash start
,but it reported logstash: unrecognized service
.
I had executed initctl start logstash
but not work as
https://www.elastic.co/guide/en/logstash/6.4/running-logstash.html
so I do /usr/share/logstash/bin/system-install /etc/logstash/startup.options sysv
follow
https://discuss.elastic.co/t/although-installing-logstash-i-get-logstash-unrecognized-service/76282
It have create a file /etc/init.d/logstash
,but I just receivelogstash started
either it did't work( I did't see logstash process when check it ps axu|grep logstash
)when I executed service logstash start