Lightning Talk: Deep Dive: How Fluent Bit Collects File Logs
Lightningat Observability Day North America 2024 · on Tuesday, 2024-11-12· at 16:45· Salt Palace | Level 2 | 255 B·
summary
Fluent Bit’s tail plugin describes exact mechanics: it globs paths, calls stat/open, and tracks files by device+inode lookup (not filename), optionally persisting state to SQLite. Change detection uses iNotify on Linux or 250 ms polling (plus a 2.5 s rotation check). Reads append into per-file buffers grown by chunk size up to a max, lseeks to update offsets, parses lines into MessagePack (or JSON/multiline), and handles rotations by detecting truncation or moved-inodes with a configurable rotate-wait (≈60s).
AI-written summary · about
related talks
36mDeep Dive: Fluent Bit
22mLogging: Fluentd & Fluent Bit
40mLive, Laugh, Log
12mLightning Talk: Achieving Unified Observability for Cloud and Edge with FluentBit
34mFluentd and Fluent Bit
21mWhy Do My Logs Suck?! A Practical Guide to Improving Your Logs
40mFluentd Deep Dive
34mFluentd: A Complete Logging Ecosystem for Kubernetes
