Elon Cheng

Results 87 comments of Elon Cheng

What environment do you use? kubesphere? or just Kubernetes? Maybe you can try ``` Name tail Path /var/log/containers/.log Refresh_Interval 10 Skip_Long_Lines true DB /fluent-bit/tail/pos.db DB.Sync Normal Mem_Buf_Limit 5MB Parser my-json...

Maybe you can use this parser to modify it https://github.com/fluent/fluentbit-operator/blob/master/conf/parsers.conf#L125 In fact, this is fluentbit configuration, you can refer to fluentbit documentation to modify the configuration https://docs.fluentbit.io/manual/pipeline/inputs/tail

Yes, you can also take a look at this plugin. https://github.com/fluent/fluent-operator/blob/master/apis/fluentbit/v1alpha2/plugins/filter/multiline_types.go You can take a look at the `secret` and see if the configuration inside is as expected all the...

https://docs.fluentbit.io/manual/pipeline/filters/multiline-stacktrace https://github.com/fluent/fluent-operator/blob/master/apis/fluentbit/v1alpha2/plugins/filter/multiline_types.go You can try this.

Here is an example https://github.com/fluent/fluent-operator/pull/176

> @wenchajun thank you. I saw it: #176 but it used a built-in plugin,not customize. I kown built-in plugin parsers support: go, java and more. I means [PARSER] and [MULTILINE_PARSER]...

Can this condition be reproduced? Can you show other configurations?

I tested it a few times and I found that if the configuration is not cluster-wide you should add the namespace you want the configuration to belong to.

Yes, but generally speaking you need to configure `fluentbit` with `fluentbitconifg` to deploy the `fluentbit` pod.

> Hello @benjaminhuo > > we would like to use fluent-operator with fluent-plugin-grok-parser, so I would like to ask, what is meant by "add plugin settings as the current method"?...