Created
February 9, 2024 22:57
-
-
Save drbugfinder-work/a9979a730fef75242d5cb4058dc93757 to your computer and use it in GitHub Desktop.
in_emitter parsers_multiline.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment