fluent / fluent-operator

Operate Fluent Bit and Fluentd in the Kubernetes way - Previously known as FluentBit Operator
Apache License 2.0
587 stars 250 forks source link

Helm multiline passer template and usage #1138

Closed onecer closed 7 months ago

onecer commented 7 months ago

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #1137

Does this PR introduced a user-facing change?

None

Helm multiline passer template, support filter go python java multiline log

Additional documentation, usage docs, etc.:

set helm values.yaml

  parsers:
      javaMultiline:
        enable: true

  filter:
    multiline:
      enable: false
      keyContent: log
      parsers:
        - go
        - python
        - java
        #  use custom multiline parser need set .Values.parsers.javaMultiline.enable = true
        - java-multiline
benjaminhuo commented 7 months ago

@onecer Thank you!