filetrace stats reports on the collector itself: the events it received and lost, its CPU and memory use, how full its bounded tables and event log are, the machine’s network totals and whether it is healthy. Use it to check that the agent keeps up and to size its limits.
Usage
stats prints every section. events, buffers and resources print one.
What it shows
Every table forgets its least recently updated entry when it is full, and the event log discards its oldest events. Forgotten entries, discarded events or a peak utilization of the event queue near 100% are signs that a limit is small for the machine’s activity; see overhead and sizing.
One section:
JSON output
--json prints one object with exact numbers, including the loss counters by cause and the queue’s peak in bytes:
--watch, each repetition prints one object on its own line.
Options
boolean
Repeat until interrupted.
string
default:"1s"
Repeat at this interval, such as
5s. Implies --watch. The shortest is 100 ms.string
default:"table"
table or json.boolean
Short for
--format json.