Red Hat Enterprise sudo service logstash start

(Sindre) #1

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?

(Magnus B├Ąck) #2

How did you install it?

(Vikas) #3

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

(Sindre) #4

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

(Sindre) #5

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?

(system) #6

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