inspect report for any single object.
1. Pull the window
--sinceand--untilselect events made in the range.--typetrims the log to what matters; the raw log also holds socket and process noise.--jsonlwrites one JSON object per line, whichjq,grepand most log tools read directly.--outputwrites to a file, so the terminal is not flooded.
2. Find the first interesting event
jq over the JSON lines is enough to sketch a timeline:
3. Ask about each object from every side
Once a line stands out,inspect gathers everything known about the process, the file, the socket, the flow or the address, so the case file does not depend on one view:
socket and flow IDs are the SOCKET and FLOW columns of connections and flows.
4. Check whether attribution was reliable
A transfer marked with*, or a non-zero loss count, means the timeline may be incomplete:
event_queue (the kernel queue overflowed), counter_table (the in-kernel table was full), socket_identity (a socket could not be identified), path_buffer (a file was recorded without its path). See loss kinds.
5. Keep the case file
JSON output is the record. Alongside the exported events, keep the version and the diagnostics that interpretation depends on:6. Make the next incident easier
- Export to a collector continuously. Send
file_transferandevent_losslog records over OTLP so the data survives the agent and the host. See keep an audit trail. - Alert on the loss itself. The
FiletraceEventLossrule in the recipes fires before an incident, not during it. - Raise the limits if loss is routine.
[limits] kernel_countersand[agent] ring_buffer_size; see overhead and sizing.
Where the answer can mislead
- The log is bounded. Old events are discarded even while the agent runs. Export early.
- Events are aggregated. A
network_sendorfile_transferevent carries the bytes of one collection interval, several a second, not of one system call. Order within an interval is not preserved. - A missing event is not proof of absence. Without loss, an event that is not there did not happen; with loss, it may have been dropped.
INFERREDtransfers are associations, so two simultaneous uploads in one process can be attributed by timing. Corroborate with the script and the destination.
Related pages
filetrace events— types,--follow,--raw, machine formats.filetrace inspect— every report.- Loss kinds
- Observability recipes