get_logs_around
Retrieve log records surrounding a specific timestamp to view context around an event without writing SQL queries.
Instructions
Fetch log records immediately before and after a specific timestamp in a stream. Returns up to size records centered on the anchor timestamp. Useful for viewing the context surrounding a known event without writing a SQL query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Total number of records to return around the anchor | |
| stream | Yes | Stream name to search | |
| instance | Yes | Instance ID to query | |
| timestamp | Yes | Anchor timestamp (ISO 8601 or Unix ms) |