I was looking into Multiline parsing on the fluent...
# fluent-operator
r
I was looking into Multiline parsing on the fluent-bit side, but was confused on how to convert to a yaml file for
fluent-operator
Copy code
[MULTILINE_PARSER]
    name          multiline-regex-test
    type          regex
    flush_timeout 1000
    #
    # Regex rules for multiline parsing
    # ---------------------------------
    #
    # configuration hints:
    #
    #  - first state always has the name: start_state
    #  - every field in the rule must be inside double quotes
    #
    # rules |   state name  | regex pattern                  | next state
    # ------|---------------|--------------------------------------------
    rule      "start_state"   "/([a-zA-Z]+ \d+ \d+\:\d+\:\d+)(.*)/"  "cont"
    rule      "cont"          "/^\s+at.*/"                     "cont"
How would the rules section be made for fluent-operator ?
I looked into the pull requests on the repo. It will be possible once this PR gets sent through https://github.com/fluent/fluent-operator/pull/842