query_logs_batched
Fetch a balanced time-bucketed sample of high-volume logs across a larger window to avoid seeing only the latest lines.
Instructions
Fetch a time-bucketed sample over a larger window. Useful when logs are high-volume: returns a balanced slice across time buckets instead of only the very latest lines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Optional substring filter across message and attributes. | |
| limit | No | Total max rows returned (default 400). | |
| minutes | No | Window size in minutes (default 60). | |
| per_bucket | No | Max rows per bucket (default 20). | |
| project_id | Yes | The project to query. Call list_projects first to see which ids you can use. | |
| bucket_minutes | No | Bucket width in minutes (default 5). |