Skip to content

Instantly share code, notes, and snippets.

@drbugfinder-work
Created February 9, 2024 22:51
Show Gist options
  • Save drbugfinder-work/e5b28ed2c2247c741695eca7c3add110 to your computer and use it in GitHub Desktop.
Save drbugfinder-work/e5b28ed2c2247c741695eca7c3add110 to your computer and use it in GitHub Desktop.
in_emitter fluent-bit.conf
[SERVICE]
flush 1
log_level trace
parsers_file parsers_multiline.conf
[INPUT]
name dummy
Dummy {"message": "Dec 14 06:41:08 Exception in thread \"main\" java.lang.RuntimeException: Something has gone wrong, aborting!\n at com.myproject.module.MyProject.badMethod(MyProject.java:22)"}
Copies 5
Rate 2
[FILTER]
name multiline
match *
multiline.key_content log
multiline.parser go, multiline-regex-test
[OUTPUT]
name stdout
match *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment