Closed error0x1 closed 5 years ago
This is not beat plugin issue.
Duplicated plugin id
output_td
. Check whole configuration and fix it."
Error said the cause. You had multiple @id output_td
in your configuration.
Correct me if I am wrong, but there is a single @id output_td
in the shared configuration.
I just had a similar problem with fluent-plugin-kubernetes_metadata_filter-2.2.0
:
2021-04-08 08:21:37 +0000 [info]: parsing config file is succeeded path="/etc/fluent/fluent.conf"
2021-04-08 08:21:37 +0000 [info]: parsing config file is succeeded path="/etc/fluent/fluent.conf"
2021-04-08 08:21:37 +0000 [error]: config error file="/etc/fluent/fluent.conf" error_class=Fluent::ConfigError error="Duplicated plugin id `filter_kubernetes_metadata`. Check whole configuration and fix it."
Commenting out the @id
in the configuration revealed that there is actually another error:
Apr 08 08:27:42 sc1-10-182-190-194.eng.vmware.com fluentd[1913]: /usr/lib/ruby/2.5.0/rubygems/dependency.rb:310:in `to_specs': Could not find 'i18n' (< 2, >= 0.7) among 78 total gem(s) (Gem::MissingSpecError)
Fixing the dependency conflict resolved my issue - the configuration worked with the @id
uncommented. Not sure if the actual error was hidden by the plugin or by fluentd itself (tested with fluentd v1.6.3). Judging by the logs, when it was broken, the config was parsed two times as opposed to a single time when the issue was resolved.
should not be closed as this is a bug in logging
If I try use beats plugin, my Fluent cant't start
td-agent.conf
In log I have it:
What is it and how fix it?