Pipelines YAML file is empty

I am new to ELK.Just tried installing and starting logstash on local windows PC, getting the below error after run the logstash.bat command.
Could you please help resolve the issue.

ERROR: Pipelines YAML file is empty. Location: C:/elastic_stack/logstash-8.0.0/config/pipelines.yml
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
[2022-02-18T08:38:29,689][FATAL][org.logstash.Logstash    ] Logstash stopped processing because of an error: (SystemExit) exit
org.jruby.exceptions.SystemExit: (SystemExit) exit
        at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:747) ~[jruby-complete-9.2.20.1.jar:?]
        at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.20.1.jar:?]
        at C_3a_.elastic_stack.logstash_minus_8_dot_0_dot_0.lib.bootstrap.environment.<main>(C:\elastic_stack\logstash-8.0.0\lib\bootstrap\environment.rb:94) ~[?:?]

If pipeline is not specified by YAML file, use logstash.bat with one of the above options in your error message.

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