Pipelines & Filters
Filters run in order. Each receives a record and may modify, drop or split it.
Built-in filters
| Filter | Purpose |
|---|---|
grok | Parse unstructured text with named patterns. |
json | Decode a JSON field into the record. |
rename | Rename or move fields. |
sample | Keep 1 in N records. |
redact | Mask emails, tokens and card numbers. |
lua | Run a custom Lua 5.1 script per record. |
Routing
routes:
- when: 'level == "error"'
outputs: [pagerduty, s3-archive]
- default: [s3-archive]