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 %