PS F:\ELK\logstash-6.2.4\logstash-6.2.4\bin> .\logstash.bat -f F:\ELK\logstash-6.2.4\logstash-6.2.4\config\logstash-test.conf
Sending Logstash's logs to F:/ELK/logstash-6.2.4/logstash-6.2.4/logs which is now configured via log4j2.properties
[2018-10-05T14:14:43,930][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"fb_apache", :directory=>"F:/ELK/logstash-6.2.4/logstash-6.2.4/modules/fb_apache/configuration"}
[2018-10-05T14:14:43,950][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"netflow", :directory=>"F:/ELK/logstash-6.2.4/logstash-6.2.4/modules/netflow/configuration"}
[2018-10-05T14:14:44,693][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
ERROR: Settings 'path.config' (-f) or 'config.string' (-e) can't be used in conjunction with (--modules) or the "modules:" block in the logstash.yml file.
usage:
bin/logstash -f CONFIG_PATH [-t] [-r] [] [-w COUNT] [-l LOG]
bin/logstash --modules MODULE_NAME [-M "MODULE_NAME.var.PLUGIN_TYPE.PLUGIN_NAME.VARIABLE_NAME=VALUE"] [-t] [-w COUNT] [-l LOG]
bin/logstash -e CONFIG_STR [-t] [--log.level fatal|error|warn|info|debug|trace] [-w COUNT] [-l LOG]
bin/logstash -i SHELL [--log.level fatal|error|warn|info|debug|trace]
bin/logstash -V [--log.level fatal|error|warn|info|debug|trace]
bin/logstash --help
[2018-10-05T14:14:44,723][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit
====================================================
Logstash-plain.log file output
[2018-10-05T14:16:59,841][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"netflow", :directory=>"F:/ELK/logstash-6.2.4/logstash-6.2.4/modules/netflow/configuration"}
[2018-10-05T14:17:00,202][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2018-10-05T14:17:00,243][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit