- [root@lognode1 logstash]# bin/logstash -f config/first-pipeline.conf
- Using bundled JDK: /usr/local/logstash/jdk
- OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
- Sending Logstash logs to /usr/local/logstash/logs which is now configured via log4j2.properties
- [2022-06-13T17:41:04,712][INFO ][logstash.runner ] Log4j configuration path used is: /usr/local/logstash/config/log4j2.properties
- [2022-06-13T17:41:04,718][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.13.2", "jruby.version"=>"jruby 9.2.16.0 (2.5.7) 2021-03-03 f82228dc32 OpenJDK 64-Bit Server VM 11.0.11+9 on 11.0.11+9 +indy +jit [linux-x86_64]"}
- [2022-06-13T17:41:04,917][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
- [2022-06-13T17:41:05,385][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9601}
- [2022-06-13T17:41:05,605][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of [ \\t\\r\\n], "#", [A-Za-z0-9_-], '"', "'", [A-Za-z_], "-", [0-9], "[", "{" at line 13, column 32 (byte 170) after filter {\ngrok{ match => { "message" => ", :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:389:in `block in converge_state'"]}
- [2022-06-13T17:41:05,676][INFO ][logstash.runner ] Logstash shut down.
- [2022-06-13T17:41:05,683][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.16.0.jar:?]
- at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.16.0.jar:?]
- at usr.local.logstash.lib.bootstrap.environment.<main>(/usr/local/logstash/lib/bootstrap/environment.rb:89) ~[?:?]
复制代码
|