~/lightning

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· [observability]
links:none on file
slides:none on file

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

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.