DriftlogDocsChangelogAPIv2.4.1

Pipelines & Filters

Filters run in order. Each receives a record and may modify, drop or split it.

Built-in filters

FilterPurpose
grokParse unstructured text with named patterns.
jsonDecode a JSON field into the record.
renameRename or move fields.
sampleKeep 1 in N records.
redactMask emails, tokens and card numbers.
luaRun a custom Lua 5.1 script per record.

Routing

routes:
  - when: 'level == "error"'
    outputs: [pagerduty, s3-archive]
  - default: [s3-archive]