Which flavor of parsing does fluent-bit use? My m...
# fluent-bit
c
Which flavor of parsing does fluent-bit use? My multiple parser doesn't work in https://regex101.com/ rexex101 doesn't want me to "Escape" the last pipe "|" NOT the "or" pipe in the brackets. My bigger problem is that I am asking the multiline to read the line starting with "A serious error " into the line above and the multiline parser is skipping the line. Thoughts please, thank you [MULTILINE_PARSER] Name isp_multiline Type regex Flush_Timeout 5000 Rule start_state /^(?:ISP|CEV)\|/ cont Rule cont /^(?!(?:ISP|CEV)\|).*/ cont Here are some sample lines ISP|V|03082025 130057472|VXML|1300|sip 1|6034|16|VXIrecLoadGrammarFromString|arcVXML2|INF [1223]TEL_SRSetParameter successful. Returning VXIrec_RESULT_SUCCESS:pid=6034 ISP|V|03082025 130057483|VXML|1300|sip 1|6034|13|VXIpromptPrefetch|arcVXML2|INF [1116]myVal = <?xml version='1.0' encoding='UTF-8' ?><speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xml:base='' xml:lang='en'> A serious error has occured. Exiting. </speak>:pid=6034 ISP|V|03082025 130057483|VXML|1300|sip 1|6034|13|VXIpromptPrefetch|arcVXML2|INF [1116]myVal = <?xml version='1.0' encoding='UTF-8' ?><speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xml:base='' xml:lang='en'>Context specific help is unavailable.</speak>:pid=6034
p
It uses the onigmo library to do it which is more Ruby based like Fluentd
c
thank you, I switched to yaml files instead of conf for configuration files and that appears to have a made all the difference not sure what the difference between conf and yaml files are besides the format.
p
none really, they're abstracted away into an internal format - sounds like a syntax issue somewhere, probably YAML was not/actually escaping more/less