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 /log4j2.properties. Using default config which logs errors to the console
My logstash.yml, log4j2.properties ... files are in both /etc/logstash and /usr/share/logstash/config . But why is there a WARNING??
I execute logstash by ubuntu service control. Like this :
initctl start logstash.
Any help thx.