Unable to start logstash on Amazon EC2 with Windows Server 2022

The erorr I'm getting is below.

[2023-03-30T23:40:36,465][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"8.6.2", "jruby.version"=>"jruby 9.3.10.0 (2.6.8) 2023-02-01 107b2e6697 OpenJDK 64-Bit Server VM 17.0.6+10 on 17.0.6+10 +indy +jit [x86_64-mswin32]"}
[2023-03-30T23:40:36,484][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-03-30T23:40:36,547][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2023-03-30T23:40:37,483][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=>"D:/logstash-8.6.2-windows-x86_64/logstash-8.6.2/logstash-8.6.2-windows-x86_64/logstash_xavier.conf"}
[2023-03-30T23:40:37,518][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
[2023-03-30T23:40:37,612][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600, :ssl_enabled=>false}
[2023-03-30T23:40:37,624][INFO ][logstash.runner ] Logstash shut down.
[2023-03-30T23:40:37,631][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:790) ~[jruby.jar:?]
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:753) ~[jruby.jar:?]
at D_3a_.logstash_minus_8_dot_6_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_6_dot_2.lib.bootstrap.environment.(D:\logstash-8.6.2-windows-x86_64\logstash-8.6.2\lib\bootstrap\environment.rb:91) ~[?:?]

[2023-03-30T23:40:37,518][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
It seems your LS cannot find .conf file.
Is this path D:/logstash-8.6.2-windows-x86_64/logstash-8.6.2/logstash-8.6.2-windows-x86_64/logstash_xavier.conf correct? You have same directories.

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