WARNING: Could not find logstash.yml cannot found

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

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.

Ok , Thanks
Done

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/

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