Processors
Processors wrap a source and transform events before they reach destinations. They let you parse, extract, and enrich log data on the host before it leaves the machine.
How processors work
A processor is configured as a source with a nested source inside it. The inner source collects the raw events, and the processor transforms them:
The outer source ("refine") wraps the inner source ("journald"), applying transformations to every event before it reaches destinations.
Available processors
| Processor | Type | Description |
|---|---|---|
| Refine | refine | Rule-based field matching and extraction |
| KV | kv | Parse key-value pairs from log lines |
| Regex | regex | Extract fields using named capture groups |
Chaining processors
Processors can be nested to apply multiple transformations: