diff options
Diffstat (limited to 'fluent-bit/tests/runtime/data/tail/parsers_multiline_json.conf')
-rw-r--r-- | fluent-bit/tests/runtime/data/tail/parsers_multiline_json.conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/fluent-bit/tests/runtime/data/tail/parsers_multiline_json.conf b/fluent-bit/tests/runtime/data/tail/parsers_multiline_json.conf new file mode 100644 index 00000000..1ed1cfdf --- /dev/null +++ b/fluent-bit/tests/runtime/data/tail/parsers_multiline_json.conf @@ -0,0 +1,24 @@ +[PARSER] + Name json + Format json + +[MULTILINE_PARSER] + name multiline-json-regex + key_content message + type regex + parser json + flush_timeout 2000 + + # + # 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" "/(Dec \d+ \d+\:\d+\:\d+)(.*)/" "cont" + rule "cont" "/^\s+at.*/" "cont" |