fluentd无法从eks连接aws elasticsearch

yh2wf1be  于 2021-06-10  发布在  ElasticSearch
关注(0)|答案(1)|浏览(403)

我已经安装了aws es代理 Helm 图表。我正在使用https://github.com/kokuwaio/helm-charts/tree/main/charts/fluentd-elasticsearch 已创建fluentd的回购。2020-10-07 04:34:38+0000[错误]:意外错误\u class=nomethoderror error=“未定义的方法 []' for nil:NilClass" 2020-10-07 04:34:38 +0000 [error]: /usr/local/bundle/gems/fluent-plugin-elasticsearch-4.1.0/lib/fluent/plugin/out_elasticsearch.rb:464:in 检测主要版本'2020-10-07 04:34:38+0000[错误]:/usr/local/bundle/gems/fluent-plugin-elasticsearch-4.1.0/lib/fluent/plugin/out\u elasticsearch.rb:455:in block in handle_last_seen_es_major_version' 2020-10-07 04:34:38 +0000 [error]: /usr/local/bundle/gems/fluent-plugin-elasticsearch-4.1.0/lib/fluent/plugin/elasticsearch_index_template.rb:35:in 重试操作'2020-10-07 04:34:38+0000[错误]:/usr/local/bundle/gems/fluent-plugin-elasticsearch-4.1.0/lib/fluent/plugin/out\u elasticsearch.rb:454:in handle_last_seen_es_major_version' 2020-10-07 04:34:38 +0000 [error]: /usr/local/bundle/gems/fluent-plugin-elasticsearch-4.1.0/lib/fluent/plugin/out_elasticsearch.rb:312:in 配置'2020-10-07 04:34:38+0000[错误]:/usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/plugin.rb:173:in configure' 2020-10-07 04:34:38 +0000 [error]: /usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/agent.rb:132:in 添加匹配'2020-10-07 04:34:38+0000[错误]:/usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/agent.rb:74:in block in configure' 2020-10-07 04:34:38 +0000 [error]: /usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/agent.rb:64:in 每个'2020-10-07 04:34:38+0000[错误]:/usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/agent.rb:64:in configure' 2020-10-07 04:34:38 +0000 [error]: /usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/label.rb:31:in 配置'2020-10-07 04:34:38+0000[错误]:/usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/root\u agent.rb:143:in block in configure' 2020-10-07 04:34:38 +0000 [error]: /usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/root_agent.rb:143:in 每个'2020-10-07 04:34:38+0000[错误]:/usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/root\u agent.rb:143:in configure' 2020-10-07 04:34:38 +0000 [error]: /usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/engine.rb:105:in 配置'2020-10-07 04:34:38+0000[错误]:/usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/engine.rb:80:in run_configure' 2020-10-07 04:34:38 +0000 [error]: /usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/supervisor.rb:602:in 运行时阻塞\u worker'2020-10-07 04:34:38+0000[错误]:/usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/supervisor.rb:840:in main_process' 2020-10-07 04:34:38 +0000 [error]: /usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/supervisor.rb:594:in 运行\u worker'2020-10-07 04:34:38+0000[错误]:/usr/local/bundle/gems/fluentd-1.11.1/lib/fluent/command/fluentd.rb:361:in <top (required)>' 2020-10-07 04:34:38 +0000 [error]: /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in require'2020-10-07 04:34:38+0000[错误]:/usr/local/lib/ruby/2.7.0/rubygems/core\u ext/kernel\u require.rb:72:in require' 2020-10-07 04:34:38 +0000 [error]: /usr/local/bundle/gems/fluentd-1.11.1/bin/fluentd:8:in <顶部(必需)>'2020-10-07 04:34:38+0000[错误]:/usr/local/bundle/bin/fluentd:23:英寸 load' 2020-10-07 04:34:38 +0000 [error]: /usr/local/bundle/bin/fluentd:23:in ' enter code here

hvvq6cgz

hvvq6cgz1#

我建议您进行本次研讨会,特别是以下步骤:https://www.eksworkshop.com/intermediate/230_logging/ (eks日志fluetbit+elasticsearch+kibana)
我只是试了一下,没有发现任何问题。

相关问题