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.
More on Logging: ELK/EFK, Loki & Log Shippers
What is the ELK stack, and what is EFK?BeginnerHow does Elasticsearch store and search logs?IntermediateWhat is ILM (Index Lifecycle Management) and why do log clusters need it?IntermediateWhat is an Elasticsearch data stream?AdvancedWhat is an index template and mapping, and what is a mapping explosion?AdvancedWhat does Logstash do compared with Beats?Intermediate