A custom parser uses user-defined expressions to extract structured fields from content that a standard parser does not fully capture. In Fluent Bit, define it with format regex and apply it through a parser filter. section 6.7
A practical multi-parser pipeline can:
- Apply another parser to the extracted IPv4 field and retrieve octet1. section 6.7
Extracting nginx fields
Define myNginxSubset with a regex parser, then run the simulator and Fluent Bit configuration. Output can contain octet1, IPv4, agentType, remote, method, path, code, and size.
