This probe is currently at the experimental stage.
Description
Thelog_mon probe tails a log file, counting newly-appended lines matching includePattern (and not matching excludePattern). It tracks a byte offset between runs — only counts new lines, resets on truncation/rotation.
Config fields
Metrics
Example config
Notes
- Reads up to 8 MiB per run. Remainder is picked up on the next tick.
- Only counts complete lines (ending with
\n). - File truncation (size drops below offset) resets to offset 0.

