search_logs
Search logs by stream and time range, applying an optional SQL WHERE clause to filter results. Returns newest entries first for fast troubleshooting.
Instructions
Search logs with an optional SQL WHERE clause, newest first
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return | |
| query | No | SQL WHERE clause without the WHERE keyword, e.g. "level='error'" | |
| stream | Yes | Stream name to search | |
| end_time | No | ISO timestamp. Defaults to now. | |
| start_time | Yes | ISO timestamp, or relative shorthand like '15m', '2h', '7d' |