这是indexloc提供的服务,不要输入任何密码
Skip to content

Problem with @type concat plugin #276

@wiktor2200

Description

@wiktor2200

Hello, I'm trying to run @concat fluentd plugin which is used to combine multi-line error messages in Kubernetes cluster on GCP

Concat plugin official repo
I've tried sample code from repo documentation:

<filter **>
  @type concat
  key message
  multiline_end_regexp /\n$/
</filter>

When I applying those lines to configmap, pods gets CrashLoopBackOff and in fluentd logs there is error:

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

How to make this plugin works with fluentd on GKE? Is there any possibility to install it with gem (while spawning fluentd pods)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions