Logstatsh issue related to stdout

[root@ukmr0xtmd01 logstash]# /usr/share/logstash/bin/logstash -f siae.conf
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
[INFO ] 2018-04-16 15:44:32.766 [main] scaffold - Initializing module {:module_name=>"fb_apache", :directory=>"/usr/share/logstash/modules/fb_apache/configuration"}
[INFO ] 2018-04-16 15:44:32.773 [main] scaffold - Initializing module {:module_name=>"netflow", :directory=>"/usr/share/logstash/modules/netflow/configuration"}
[WARN ] 2018-04-16 15:44:33.172 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified
[INFO ] 2018-04-16 15:44:33.300 [LogStash::Runner] runner - Starting Logstash {"logstash.version"=>"6.2.3"}
[INFO ] 2018-04-16 15:44:33.345 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] configpathloader - No config files found in path {:path=>"/etc/logstash/siae.conf"}
[ERROR] 2018-04-16 15:44:33.348 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] sourceloader - No configuration found in the configured sources.

No config files found in path {:path=>"/etc/logstash/siae.conf"}

Is this where you've stored siae.conf?

yes i have saved my config file in /etc/logstash/conf.d
why it is taking this.

If you run Logstash with -f siae.conf when /etc/logstash is the current directory Logstash will attempt to load /etc/logstash/siae.conf. Change the current directory or the path you specify in the -f option.

It is working fine

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