fluent-plugins-nursery / fluent-plugin-concat

Fluentd Filter plugin to concatenate multiline log separated in multiple events.
MIT License
108 stars 33 forks source link

Unknown filter plugin 'concat' [fluentd1.3.3 concat2.5.0] #114

Open AkitoZz opened 2 years ago

AkitoZz commented 2 years ago

Problem

[error]: config error file="/etc/fluent/fluent.conf" error_class=Fluent::ConfigError error="Unknown filter plugin 'concat'. Run 'gem search -rd fluent-plugin' to find plugins"

Steps to replicate

here is my part config:

<filter kubernetes.**> @type concat key log multiline_end_regexp /\n$/ separator ""

If I comment out this configuration, fluentd words fine, why fluentd can't find this plugin, while other plugins work fine

Expected Behavior

Your environment

ziaurrehman72 commented 7 months ago

Getting the same error. Is there any update ??

ashie commented 7 months ago

Please describe the detail how did you install Fluentd & fluent-plugin-concat.

plakhp commented 2 months ago

Getting the same error. docker install。 FROM fluent/fluentd:v1.17-debian USER root RUN gem sources --remove https://rubygems.org/ && \ gem sources -a https://mirrors.aliyun.com/rubygems/ && \ gem sources -l && \ gem install elasticsearch --no-document --version 7.17.8 && \ gem install fluent-plugin-elasticsearch --no-document --version 5.3.0 &&\ gem install fluent-plugin-kafka && \ gem install fluent-plugin-concat && \ gem install fluent-plugin-detect-exceptions && \ gem install fluent-plugin-prometheus USER fluent

run error message:

2024-08-22 08:49:21 +0000 [info]: parsing config file is succeeded path="/fluentd/etc/fluent.conf" 2024-08-22 08:49:21 +0000 [info]: gem 'fluentd' version '1.17.0' 2024-08-22 08:49:21 +0000 [info]: gem 'fluent-plugin-concat' version '2.5.0' 2024-08-22 08:49:21 +0000 [info]: gem 'fluent-plugin-detect-exceptions' version '0.0.15' 2024-08-22 08:49:21 +0000 [info]: gem 'fluent-plugin-elasticsearch' version '5.3.0' 2024-08-22 08:49:21 +0000 [info]: gem 'fluent-plugin-kafka' version '0.19.3' 2024-08-22 08:49:21 +0000 [info]: gem 'fluent-plugin-prometheus' version '2.2.0' 2024-08-22 08:49:21 +0000 [error]: config error file="/fluentd/etc/fluent.conf" error_class=Fluent::NotFoundPluginError error="Unknown parser plugin 'concat'. Run 'gem search -rd fluent-plugin' to find plugins"