'Unable to run the logstash conf in CMD (SystemExit)
I am completely new to ELK and trying to work on very basic configuration. However,When trying to run my logstash-Testing.conf in CMD (D:\Loggers\logstash-8.1.3\bin>.\logstash.bat -f ..\config\logstash-Testing.conf), I am facing error and logstash process is stopped . Could someone plz prove a solution and the reason for the error
[2022-04-27T20:21:19,146][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.jar:?]
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby.jar:?]
at D_3a_.Loggers.logstash_minus_8_dot_1_dot_3.lib.bootstrap.environment.<main>(D:\Loggers\logstash-8.1.3\lib\bootstrap\environment.rb:94) ~[?:?]
D:\Loggers\logstash-8.1.3\bin>
Below is my conf file for reference:
input {
file{
type=>"syslog"
path=>"C:/Users/ragav/Downloads/eStockCompany/src/logs/application.log"
}
}
output {
stdout { codec => rubydebug }
elasticsearch{
hosts =>["http://localhost:9200"]
index => "CompanyAppLog"
}
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
