How do you prevent the logging pipeline from losing data during a backend outage?

IntermediateProductionLog Pipelines
Answer
  • Disk-backed buffers on agents and aggregators (Fluent Bit storage.type filesystem, Vector buffer.type = "disk").
  • Retry with backoff and bounded queues.
  • Kafka as a durable buffer for large setups.
  • Monitor buffer usage and dropped records (fluentbit_output_dropped_records_total, vector_buffer_events).
  • Decide explicitly what happens when buffers fill: drop oldest, block, or drop low-priority streams first.
All Monitoring & Observability questions Roadmap: Logging & tracing

More on Log Pipelines