Sometimes I fail to start up and the error message is as follows.

Sometimes I fail to start up and the error message is as follows.

[2023-07-12T10:50:36,815][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
[2023-07-12T10:50:36,932][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}
[2023-07-12T10:50:42,046][INFO ][logstash.runner          ] Logstash shut down.
[2023-07-12T10:50:42,054][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.13.0.jar:?]
	at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.13.0.jar:?]
	at Users.zhujiayu.Desktop.code.tools.logstash_minus_7_dot_12_dot_1.lib.bootstrap.environment.<main>(/Users/zhujiayu/Desktop/code/tools/logstash-7.12.1/lib/bootstrap/environment.rb:89) ~[?:?]
zhujiayu@JONAHZHU-MB0 logstash-7.12.1 %

Hi.

I would check firstly logstash-pipeline.conf file under config.(logstash-pipeline can be different in your case) If it exists or the path correct is. Usually it is under config.
You can start it by going logstash level and giving this command:

bin/logstash -f /path-to-your-file/config/logstash-pipeline.conf

No configuration found in the configured sources.

After you check PodarcisMuralis suggestion, check permissions. The "logstash" user must have rights to read .conf

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