Testing logstash as instructed here.
This is the command I execute (it doesn't work without the --path.settings too):
/usr/share/logstash/bin/logstash -f logstash-simple.conf --path.settings /etc/logstash/logstash.yml
But I am getting this warning:
WARNING: Could not find logstash.yml which is typically located in $LS_HOME/config or /etc/logstash. You can specify the path using --path.settings.
Permissions should be ok for everyone to read logstash.yml:
ls -lsah /etc/
4.0K drwxrwxr-x 4 root root 4.0K Sep 15 16:35 logstash
ls -lsah /etc/logstash/
8.0K -rw-r--r-- 1 root root 5.7K Sep 15 16:26 logstash.yml
Version:
/usr/share/logstash/bin/logstash --version
logstash 5.6.0