Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with @type concat plugin #276

Open
wiktor2200 opened this issue Jul 16, 2020 · 0 comments
Open

Problem with @type concat plugin #276

wiktor2200 opened this issue Jul 16, 2020 · 0 comments

Comments

@wiktor2200
Copy link

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)?

@wiktor2200 wiktor2200 changed the title Problem with concat plugin Problem with @type concat plugin Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant