Pipeline Presets
Docker json-file Tail Collector at 5,000 EPS (16 MB RSS)
Tail Docker container JSON logs safely with cri/docker parsers, SQLite inode cursor checkpoints, 10 MB Mem_Buf_Limit, and 64 KB read chunks.
16 MB Peak RSS · 5,000 EPS · 2.5 MB/s Raw · 64k Chunk
Tracking Rotated Container Logs Without Duplicate Lines
Docker json-file rotation renames active log files while Fluent Bit still holds open file descriptors. Enabling a persistent SQLite DB cursor with inode tracking guarantees zero skipped lines and zero duplicate replays on daemon restart.
Handling Unbounded Stacktrace Payloads
Always pair Buffer_Max_Size 256k with Skip_Long_Lines On on Docker tail inputs so a runaway debug dump never freezes the C event loop or blows past container memory limits.
Measured Parameters & Shipper Configuration Directives
| Directive / Parameter | Recommended Setting | Operational Reason |
|---|---|---|
| Mem_Buf_Limit | 10MB per tail input | Stops container burst loops from exhausting host RAM |
| DB Cursor | /var/log/flb-docker.db (Sync Normal) | Tracks byte offsets across container restarts and logrotate |
| Buffer_Chunk_Size / Max | 64k / 256k + Skip_Long_Lines On | Prevents single 1 MB JSON dumps from stalling the tail loop |
| Host Node Fit | InterServer 1-Slice ($6/mo) or UltaHost 1 GB | Leaves >1.8 GB free for application workloads |