Logstash stopped processing because of an error: (SystemExit) exit Logstash stopped processing because of an error: (SystemExit) exit

Successfully started Logstash API endpoint {:port=>9600, :ssl_enabled=>false}
[2023-11-09T11:25:11,753][INFO ][logstash.runner ] Logstash shut down.
[2023-11-09T11:25:11,758][FATAL][org.logstash.Logstash ] Logstash stopped processing because of an error: (SystemExit) exit
org.jruby.exceptions.SystemExit: (SystemExit) exit

Hi @17_Chinmay_Shelke

Welcome to the community.

First please don't post images of text, they can not be read, debugged and some folks can not even see them.

If you look at the error it says it can not find the config file.

"No config file found...

So validate it is there and readable.

1 Like

Can u help me pls,
I run logstash one this path D:\tools-8_3_2\logstash-8.10.4\bin
this command logstash -f logstash.conf

This output

D:\tools-8_3_2\logstash-8.10.4\bin>logstash -f logstash.conf
"Using bundled JDK: D:\tools-8_3_2\logstash-8.10.4\jdk\bin\java.exe"
Sending Logstash logs to D:/tools-8_3_2/logstash-8.10.4/logs which is now configured via log4j2.properties
[2023-11-10T13:44:46,263][INFO ][logstash.runner          ] Log4j configuration path used is: D:\tools-8_3_2\logstash-8.10.4\config\log4j2.properties
[2023-11-10T13:44:46,266][WARN ][logstash.runner          ] The use of JAVA_HOME has been deprecated. Logstash 8.0 and later ignores JAVA_HOME and uses the bundled JDK. Running Logstash with the bundled JDK is recommended. The bundled JDK has been verified to work with each specific version of Logstash, and generally provides best performance and reliability. If you have compelling reasons for using your own JDK (organizational-specific compliance requirements, for example), you can configure LS_JAVA_HOME to use that version instead.
[2023-11-10T13:44:46,267][INFO ][logstash.runner          ] Starting Logstash {"logstash.version"=>"8.10.4", "jruby.version"=>"jruby 9.4.2.0 (3.1.0) 2023-03-08 90d2913fda OpenJDK 64-Bit Server VM 17.0.8+7 on 17.0.8+7 +indy +jit [x86_64-mswin32]"}
[2023-11-10T13:44:46,270][INFO ][logstash.runner          ] JVM bootstrap flags: [-Xms1g, -Xmx1g, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djruby.compile.invokedynamic=true, -XX:+HeapDumpOnOutOfMemoryError, -Djava.security.egd=file:/dev/urandom, -Dlog4j2.isThreadContextMapInheritable=true, -Djruby.regexp.interruptible=true, -Djdk.io.File.enableADS=true, --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED, --add-opens=java.base/java.security=ALL-UNNAMED, --add-opens=java.base/java.io=ALL-UNNAMED, --add-opens=java.base/java.nio.channels=ALL-UNNAMED, --add-opens=java.base/sun.nio.ch=ALL-UNNAMED, --add-opens=java.management/sun.management=ALL-UNNAMED]
[2023-11-10T13:44:46,317][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2023-11-10T13:44:47,376][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=>"D:/tools-8_3_2/logstash-8.10.4/logstash.conf"}
[2023-11-10T13:44:47,377][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
[2023-11-10T13:44:47,469][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600, :ssl_enabled=>false}
[2023-11-10T13:44:47,479][INFO ][logstash.runner          ] Logstash shut down.
[2023-11-10T13:44:47,484][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:795) ~[jruby.jar:?]
        at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:758) ~[jruby.jar:?]
        at D_3a_.tools_minus_8_3_2.logstash_minus_8_dot_10_dot_4.lib.bootstrap.environment.<main>(D:\tools-8_3_2\logstash-8.10.4\lib\bootstrap\environment.rb:90) ~[?:?]

how to RESOLVE it

Try with:

D:\tools-8_3_2\logstash-8.10.4\bin\logstash.bat -f D:\tools-8_3_2\logstash-8.10.4\config\logstash.conf --path.settings D:\tools-8_3_2\logstash-8.10.4\config

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