LogStash 5.5.0 start as a service does not read config file


(Manoj Kumar Padhi) #1

Hi,

I am running logstash 5.5 on ubuntu 16.04.

I SSH into my linux box using a cert and sudo to root user. My config file is under /etc/logstash/conf.d/logstash-apache.conf.

a) When I run logstash from the command line:

/opt/logstash/bin/logstash -f /etc/logstash/conf.d/logstash-apache.conf
I see : -bash: /opt/logstash/bin/logstash: No such file or directory

so how i will run logstash.


(Magnus B├Ąck) #2

I'm assuming you've installed Logstash with the official Debian package in which case Logstash 5.5 isn't installed in /opt/logstash. See https://www.elastic.co/guide/en/logstash/current/dir-layout.html#deb-layout for details on where the files are stored.


(system) #3

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