build_timeline
Merge server and client logs into one chronological timeline to trace what happened before and after an incident. Interleaves entries by timestamp, removes duplicates, and collapses repeats for clearer root-cause analysis.
Instructions
Merge all logs into one chronological sequence - what happened before and after.
Useful for "what led up to this failure": server and client logs are interleaved
by timestamp, duplicates across logs removed, and consecutive repeats collapsed
(repeats). When there are more rows than limit, WARN and above are always
kept and the rest are sampled evenly (sampled).
Args:
around: Centre the window on this time (ISO, or relative like 2h).
minutes_before: Minutes before around (default 15).
minutes_after: Minutes after around (default 15).
since: Window start when not using around. Default: the last 60 minutes of logs.
until: Window end when not using around.
source: Source name; omit for all sources.
device: Only this device.
role: "server", "client" or "setup".
files: Log names or globs.
min_severity: INFO (default), WARN, ERROR; DEBUG to include debug lines.
keyword: Only entries containing this text.
include_noise: Include known platform noise.
collapse_repeats: Merge consecutive identical rows (default true).
limit: Rows to return (10-1000).
Returns:
rows in time order, each with time, device, severity, log, component, message
and at (file:line).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| files | No | ||
| limit | No | ||
| since | No | ||
| until | No | ||
| around | No | ||
| device | No | ||
| source | No | ||
| keyword | No | ||
| min_severity | No | INFO | |
| include_noise | No | ||
| minutes_after | No | ||
| minutes_before | No | ||
| collapse_repeats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||