The list is short, but it matters. Lnav sub-processors decide how your logs are parsed, processed, and enriched before you ever see them. Each sub-processor runs inside Lnav, taking raw input and applying the rules and plugins you’ve set up. These components handle tasks like format detection, time normalization, field extraction, and message classification. If one fails, the data stream suffers.
Understanding Lnav sub-processors is not optional if you care about accuracy or speed. They work in order, passing data along the pipeline. The configuration determines which sub-processors load, and when. Misconfigured chains lead to missing fields or broken timelines. Tuned correctly, they deliver structured events you can trust.
Common Lnav sub-processors include the format detection engine, timestamp parser, JSON and CSV extractors, and regex-based field mappers. Each runs as a separate unit, triggered on matching conditions. This modular approach means you can add or remove processing steps without touching the core Lnav binary. It keeps custom workflows clean and maintainable.
Performance depends on sub-processor efficiency. Avoid complex regex on high-volume streams unless necessary. Make sure field extractors are scoped tightly to only hit matching log types. Keep JSON parsing rules lightweight—overloaded parsers stall the chain.