如何启用fluentd插件

问题描述 投票:0回答:1

我用的是EFK。

谁能在这里帮助一下如何启用fluentd插件。

我已经安装了以下3个插件作为我工作的一部分。

gem install fluent-plugin-concat
gem install fluent-plugin-detect-exceptions
gem install fluent-plugin-detect-exceptions-with-error
gem install fluent-plugin-record-modifier

并在这里看到安装的宝石列表。

opsmxuser@opsmx-ind-setup:~/docker-compose-efk$ fluent-gem list

*** LOCAL GEMS ***
.
.
fluent-plugin-concat (2.4.0)
fluent-plugin-detect-exceptions (0.0.12)
fluent-plugin-detect-exceptions-with-error (0.0.3)
fluent-plugin-record-modifier (2.0.1)
fluentd (1.6.2, 0.14.25)
.
.

但这3个插件都没有启用。当我们使用这些配置到fluent.conf文件得到以下错误信息到fluentd容器日志。

2019-08-05 12:34:55 +0000 [info]: parsing config file is succeeded path="fluentdetcfluent.conf" 2019-08-05 12:34:55 +0000 [error]: config error file="etcfluentfluent.conf" error_class=Fluent::ConfigError error="未知过滤器插件'concat'。运行'gem search -rd fluent-plugin'查找插件"

2019-08-02 12:46:23 +0000 [error]: config error file="fluentdetcfluent.conf" error_class=Fluent::ConfigError error="未知输出插件'detect_exceptions'。运行'gem search -rd fluent-plugin'查找插件"

2019-08-05 12:34:55 +0000 [info]: parsing config file is succeeded path="fluentdetcfluent.conf" 2019-08-05 12:34:55 +0000 [error]: config error file="fluentdetcfluent.conf" error_class=Fluent::ConfigError error="未知过滤插件'record_modifier'。运行'gem search -rd fluent-plugin'查找插件"

java multiline fluentd
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.