Unrecognised option '--path.setting'


#1

When running logstash directly I always get this warning message:

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. Continuing using the defaults

Even if it has no negative effect I would like to get rid of it. I tried it by using:

bin/logstash --path.setting=/etc/logstash -t -f /etc/logstash/conf.d/logstash.conf

But this lead to an error message:

ERROR: Unrecognised option '--path.setting'
See: 'bin/logstash --help'

However 'bin/logstash --help' leads to:

--path.settings SETTINGS_DIR Directory containing logstash.yml file. This can also be
set through the LS_SETTINGS_DIR environment variable.
(default: "/usr/share/logstash/config")

Obviously there is something I'm doing in the wrong way, but I don't have a clue what this is. I would appreciate if anyone could lead me to the right direction.


#2

Just got aware ot the missing "s" at --path.settingS. Sorry...


(system) #3

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