Logstash is not starting, I have installed Logstash 7.16.1, this is the error i am getting in logstash
[2021-12-15T17:28:43,113][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
[2021-12-15T17:28:43,238][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600, :ssl_enabled=>false}
[2021-12-15T17:28:48,366][INFO ][logstash.runner ] Logstash shut down.
[2021-12-15T17:28:48,381][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:?]
I am running the command from the command line : i have given the full path of the file , even then it keeps saying config file not found ..
PS C:\ELK3\Newfolder\logstash-7.16.1> bin/logstash -f C:\ELK3\Newfolder\logstash-7.16.1\logstash.conf
"Using bundled JDK: ."
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Sending Logstash logs to C:/ELK3/Newfolder/logstash-7.16.1/logs which is now configured via log4j2.properties
[2021-12-16T04:56:51,648][INFO ][logstash.runner ] Log4j configuration path used is: C:\ELK3\Newfolder\logstash-7.16.1\config\log4j2.properties
[2021-12-16T04:56:51,679][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.16.1", "jruby.version"=>"jruby 9.2.20.1 (2.5.8) 2021-11-30 2a2962fbd1 OpenJDK 64-Bit Server VM 11.0.13+8 on 11.0.13+8 +indy +jit [mswin32-x86_64]"}
[2021-12-16T04:56:51,882][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2021-12-16T04:56:51,929][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=>"C:/ELK3/Newfolder/logstash-7.16.1/logstash.conf"}
[2021-12-16T04:56:51,944][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
Configuration OK
[2021-12-16T04:56:51,944][INFO ][logstash.runner ] Using config.test_and_exit mode. Config Validation Result: OK. Exiting Logstash
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.