1. 下载
2. 启动
- 目录名不能是中文
- 没有配置文件错误
[2021-12-10T16:03:06,982][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.20.1.jar:?]
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.20.1.jar:?]
at D_3a_.JAVA.services.logstash_minus_7_dot_16_dot_0.lib.bootstrap.environment.<main>(D:\JAVA\services\logstash-7.16.0\lib\bootstrap\environment.rb:94) ~[?:?]
2.1 创建配置文件
logstash-7.16.0\bin\logstash.conf
input {
stdin{
}
}
output {
stdout{
}
}