Logstash.conf error

.\bin\logstash.bat -f logstash.conf

"Using bundled JDK: A:\logstash-8.5.3\jdk\bin\java.exe"
Sending Logstash logs to A:/logstash-8.5.3/logs which is now configured via log4j2.properties
[2022-12-13T22:19:36,586][INFO ][logstash.runner ] Log4j configuration path used is: A:\logstash-8.5.3\config\log4j2.properties
[2022-12-13T22:19:36,594][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"8.5.3", "jruby.version"=>"jruby 9.3.9.0 (2.6.8) 2022-10-24 537cd1f8bc OpenJDK 64-Bit Server VM 17.0.5+8 on 17.0.5+8 +indy +jit [x86_64-mswin32]"}
[2022-12-13T22:19:36,610][INFO ][logstash.runner ] JVM bootstrap flags: [-Xms1g, -Xmx1g, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djruby.compile.invokedynamic=true, -Djruby.jit.threshold=0, -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]
[2022-12-13T22:19:36,779][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2022-12-13T22:19:43,336][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=>"A:/logstash-8.5.3/logstash.conf"}
[2022-12-13T22:19:43,345][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
[2022-12-13T22:19:43,918][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600, :ssl_enabled=>false}
[2022-12-13T22:19:43,984][INFO ][logstash.runner ] Logstash shut down.
[2022-12-13T22:19:43,995][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 A_3a_.logstash_minus_8_dot_5_dot_3.lib.bootstrap.environment.(A:\logstash-8.5.3\lib\bootstrap\environment.rb:91) ~[?:?]

can someone please help me sort out this error.
the logstash.conf file is as below:

inpu{
file{
path => "A:/dataset/2013_Salaries__Pennsylvania_State_System_of_Higher_Education.csv"
start_position => "beginning"
sincedb_path => "NULL"

}
}
filter{
csv {
separator => ","
columns => ["index","Name","Base Pay","University or Office","Position"]
}

}
output {
elasticsearch {

    hosts => "http://localhost:9200"
    index => "higher_edu_salaries"
}
stdout {}

}

It is not finding that file.

Been a while since I saw a computer with an A: drive!

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