Interview Prep/Monitoring & Observability/Logging: Loki, Fluent Bit and Elasticsearch

Fluent Bit logs `[warn] [engine] failed to flush chunk ... retry in 10 seconds` repeatedly, then `chunk cannot be retried`

IntermediateTroubleshootingLogging: Loki, Fluent Bit and Elasticsearch
Answer

Likely causes → The destination is unreachable or rejecting; after Retry_Limit attempts the chunk is discarded.

Diagnose → Output errors in logs, fluentbit_output_retries_failed_total, connectivity test from the node.

Fix → Fix the destination; set Retry_Limit no_limits (or False) for critical outputs with filesystem buffering and storage.total_limit_size to cap disk.

Prevent → Alert on rate(fluentbit_output_retries_failed_total[5m]) > 0.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Logging: Loki, Fluent Bit and Elasticsearch