Interview Prep/Monitoring & Observability/Logging: ELK/EFK, Loki & Log Shippers

How does Fluent Bit handle backpressure and outages of the destination?

AdvancedConceptLogging: ELK/EFK, Loki & Log Shippers
Answer

By default buffers live in memory, limited per input by Mem_Buf_Limit; when it is hit, the input pauses (for tail, logs keep accumulating in files and are read later, but rotated files can be lost).

With storage.type filesystem on inputs and storage.path set, chunks spill to disk, survive restarts, and storage.total_limit_size on outputs caps disk use. Outputs retry with Retry_Limit. Watch fluentbit_output_retries_failed_total and fluentbit_output_dropped_records_total metrics.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Logging: ELK/EFK, Loki & Log Shippers