Memory Management
[SERVICE]
Flush 5
Grace 30
Mem_Buf_Limit 50MB # back-pressure: stop tailing when buffer full
[INPUT]
Name tail
Mem_Buf_Limit 10MB
storage.type filesystem # spill to disk instead of blocking
storage.type filesystem: when memory limit is hit, FluentBit writes to local disk rather than dropping logs or blocking the application.