syslog_context_tool
Retrieve log entries around a given timestamp to correlate failures with surrounding events, filtering by source or severity as needed.
Instructions
Return log entries surrounding a specific moment.
Use this after an alert names a time. Omitting source spans the whole fleet, which is how a failure gets correlated with whatever else was happening.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum entries to return. | |
| source | No | Restrict to one source. Omit to span all sources. | |
| severity | No | Optional minimum severity. | |
| timestamp | Yes | The moment of interest — ISO-8601, or relative like '30m' ago. | |
| after_seconds | No | How far forward from the timestamp to include. | |
| before_seconds | No | How far back from the timestamp to include. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |