[2021-09-23T23:39:11,667][INFO ][logstash.runner ] Log4j configuration path used is: /usr/local/logstash/config/log4j2.properties
[2021-09-23T23:39:11,706][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.14.1", "jruby.version"=>"jruby 9.2.19.0 (2.5.8) 2021-06-15 55810c552b Java HotSpot(TM) 64-Bit Server VM 25.141-b15 on 1.8.0_141-b15 +indy +jit [linux-x86_64]"}
[2021-09-23T23:39:13,251][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2021-09-23T23:39:19,340][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of [ \\t\\r\\n], \"#\", \"input\", \"filter\", \"output\" at line 1, column 1 (byte 1)", :backtrace=>["/usr/local/logstash/logstash-core/lib/logstash/compiler.rb:32:in `compile_imperative'", "org/logstash/execution/AbstractPipelineExt.java:187:in `initialize'", "org/logstash/execution/JavaBasePipelineExt.java:72:in `initialize'", "/usr/local/logstash/logstash-core/lib/logstash/java_pipeline.rb:47:in `initialize'", "/usr/local/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:52:in `execute'", "/usr/local/logstash/logstash-core/lib/logstash/agent.rb:391:in `block in converge_state'"]}
[2021-09-23T23:39:19,701][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2021-09-23T23:39:20,517][INFO ][logstash.runner ] Logstash shut down.
[2021-09-23T23:39:20,548][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.19.0.jar:?]
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.19.0.jar:?]
at usr.local.logstash.lib.bootstrap.environment.<main>(/usr/local/logstash/lib/bootstrap/environment.rb:89) ~[?:?]
你这错误日志没截全吧,你可以直接用docker安装,省事