请选择 进入手机版 | 继续访问电脑版

logstash错误

[复制链接]
feng 发表于 2022-6-13 17:44:45 | 显示全部楼层 |阅读模式


  1. [root@lognode1 logstash]# bin/logstash -f config/first-pipeline.conf
  2. Using bundled JDK: /usr/local/logstash/jdk
  3. OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
  4. Sending Logstash logs to /usr/local/logstash/logs which is now configured via log4j2.properties
  5. [2022-06-13T17:41:04,712][INFO ][logstash.runner          ] Log4j configuration path used is: /usr/local/logstash/config/log4j2.properties
  6. [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]"}
  7. [2022-06-13T17:41:04,917][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
  8. [2022-06-13T17:41:05,385][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9601}
  9. [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'"]}
  10. [2022-06-13T17:41:05,676][INFO ][logstash.runner          ] Logstash shut down.
  11. [2022-06-13T17:41:05,683][FATAL][org.logstash.Logstash    ] Logstash stopped processing because of an error: (SystemExit) exit
  12. org.jruby.exceptions.SystemExit: (SystemExit) exit
  13.         at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:747) ~[jruby-complete-9.2.16.0.jar:?]
  14.         at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.16.0.jar:?]
  15.         at usr.local.logstash.lib.bootstrap.environment.<main>(/usr/local/logstash/lib/bootstrap/environment.rb:89) ~[?:?]
复制代码





本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|RuZhuo ( 鄂ICP备16015978号-8 )

GMT+8, 2024-3-29 19:39 , Processed in 0.031795 second(s), 28 queries .

Powered by RuZhuo

快速回复 返回顶部 返回列表