timeline
Pinpoint when log events started or spiked by counting matches per time bucket, filtered by pattern or minimum level, and displaying results as an ASCII sparkline.
Instructions
Event counts per time bucket for a pattern and/or minimum level, with an ASCII sparkline and bars. Shows WHEN something started or spiked. bucket is 'auto' (about 60 buckets) or a duration such as 10s, 5m, 1h, 1d.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | +00:00 | |
| path | Yes | ||
| level | No | ||
| regex | No | ||
| since | No | ||
| until | No | ||
| bucket | No | auto | |
| pattern | No | ||
| ignore_case | No | ||
| include_rotated | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |