summarize_log_timeline
Aggregate NDJSON log entries by time window, tallying errors, warnings, and info counts to reveal severity trends and spikes.
Instructions
Chronological severity aggregation — errors, warnings, and info counts per time window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logFile | Yes | Absolute path to the NDJSON log file | |
| adaptive | No | Auto-scale bucket size to actual event density — samples first 1000 events to choose ms/s/min granularity and zooms in on the peak error window | |
| levelField | No | Field containing log level | level |
| windowMinutes | No | Aggregation window size in minutes | |
| timestampField | No | Field containing ISO timestamp | timestamp |
| lineStartPattern | No | Regex that marks new log line start — enables multiline stack trace buffering |