WARNING: Could not find logstash.yml cannot found

(Sayed Mohamed) #1

i have a problem that i run file as command : sudo bin/logstash --path.data sensor38 -f /home/sayed/logstash/sayed.conf
and i have an warning that i set some configuration on it
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
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console
so i need help and i did every thing that related this topic but no vain

(David Pilato) #2

Moving to #logstash. Please don't use english in #in-your-native-tongue:discussions-en-francais room as it is meant to be in french.

(Sayed Mohamed) #3

Ok , Thanks


Can you ls /usr/share/logstash/config/ or ls /etc/logstash for us? That's where your logstash.yml and log4j2.properties should be by default. If they are not there they you need to use --path.settings /path/to/my/configs/

(system) #5

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