Driftlog Documentation
Driftlog is a lightweight, single-binary log shipping agent written in Go. It tails files, journald and container logs, parses and enriches events, and forwards them to object storage, Elasticsearch, Loki, Kafka or any HTTP endpoint with at-least-once delivery.
Why Driftlog
- Small footprint — typically under 25 MB RSS while shipping 20k events/s.
- Durable buffering — an on-disk write-ahead log survives restarts and network outages.
- Declarative pipelines — one YAML file describes inputs, filters and outputs.
- Observable — Prometheus metrics and a local HTTP API out of the box.
Architecture
Every event flows through three stages: inputs collect raw lines, filters parse and transform them into structured records, and outputs batch and deliver them. Each stage runs in its own goroutine pool connected by bounded queues, so a slow output applies back-pressure instead of exhausting memory.
New to Driftlog? Start with the Installation guide, then follow the Quickstart.