fluent-operator
fluent-operator copied to clipboard
Add feature to add multilineParser in helm chart, when enable kubernetes: true
Is your feature request related to a problem? Please describe.
Hello, I'm getting some logs in json log format and its not parsed.
my values.yaml for helm chart
containerRuntime: containerd
Kubernetes: true
fluentbit:
crdsEnable: true
enable: true
image:
repository: "kubesphere/fluent-bit"
tag: "v2.1.2"
input:
tail:
enable: true
refreshIntervalSeconds: 10
memBufLimit: 5MB
path: "/var/log/containers/*.log"
skipLongLines: true
Describe the solution you'd like
can we add 1 option to helm chart, when it defined, like
fluentbit.input.tail.multilineParser: docker, cri
Additional context
No response
@wenchajun as I can remember users can simply set containerRuntime: containerd and then the (contained) container logs will be parsed properly because there is a custom filter for contained https://github.com/fluent/fluent-operator/blob/master/charts/fluent-operator/values.yaml#L205 right?