Fluent Bit, Vector, Grafana Alloy or the OpenTelemetry Collector: how do you choose a log agent?
IntermediateProductionLog Pipelines
Answer
- Fluent Bit: tiny C agent, very common on Kubernetes, many outputs.
- Vector: Rust, powerful VRL transforms, great as both agent and aggregator.
- Grafana Alloy: successor to Grafana Agent and Promtail (Promtail is deprecated), best fit for Loki/Mimir/Tempo stacks, handles all signals.
- OTel Collector: vendor-neutral, all three signals, standard OTLP; filelog receiver for logs.
We choose based on the backend and the team's skills; standardising on one agent for all signals (Alloy or OTel) reduces DaemonSets on every node.
More on Log Pipelines
What does a production log pipeline look like end to end?BeginnerWhy structured (JSON) logging, and what fields should every log line have?BeginnerWhy add an aggregation tier instead of sending directly from agents to the backend?IntermediateHow do you design log retention tiers?IntermediateHow do you scrub PII from logs in the pipeline?IntermediateHow and when do you sample logs?Intermediate