Cofig test is not working

[root@ukmr0xtmd01 opt]# /usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/siae.conf -configtest
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
ERROR: Unrecognised option '-c'

See: 'bin/logstash --help'
[ERROR] 2018-04-16 10:15:57.535 [main] Logstash - java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit
[root@ukmr0xtmd01 opt]# /usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/siae.conf -configtest
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
ERROR: Unrecognised option '-c'

See: 'bin/logstash --help'
[ERROR] 2018-04-16 10:15:57.535 [main] Logstash - java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit

Did you try running bin/logstash --help to get help on which command-line options are available?

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