Red Hat Enterprise sudo service logstash start

Im running Red Hat Enterprise 6.9

After installing logsatash I try to start it

sudo service logstash start
logstash: unrecognized service

Anyone know the issue?

How did you install it?

give the command: bin/logstash -f path/to/logstash.conf

I installed Logstash like this:
sudo rpm -ivh logstash-6.2.4.rpm

I know I can start Logstash like this:

./bin/logstash -f /etc/logstash/conf.d/logstash-syslog.conf --path.settings /etc/logstash &

But I want to start it as a service. Is it not possible?

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