Logstash - Startup Script / Service Daemon

Been trying to figure out how to get the right config to work on the /etc/init/logstash.conf file. That is the one that can be modified using the system-install.

But it never does any of my settings, therefore the port is never opened properly.

I run a manual cmd line:
/usr/share/logstash/bin/logstash --path.settings /etc/logstash -f /etc/logstash/conf.d &

Secondly, I would use the service logstash, but it fails to start.
service logstash start
Starting Logstash Daemon: logstash not configured to start, please edit /etc/sysconfig/logstash to enable

Any ideas to get either one to work?


Which version of Logstash are you using? There were some fixes just released in 5.3 that cover some of those scenarios.


So maybe I need to uninstall and go to the 5.3. I downloaded the newest available at the time.

Does that mean I need to upgrade everything to 5.3?

I have elastic search / logstash / kibana on the 3 node cluster.

Then I have filebeats on the clients.

It's where I'd start, since it fixes the ability to set environment variables in the config files that system-install uses.

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