get_search_results
Fetch search job results, either raw log messages or aggregated records, with pagination using offset and limit.
Instructions
Fetch results from a search job.
Use 'messages' for raw log lines. Use 'records' for aggregated results (queries with count, sum, avg, group by, etc.). Supports pagination via offset and limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return | |
| job_id | Yes | Search job ID | |
| offset | No | Starting index for pagination | |
| result_type | No | Type of results: 'messages' for raw logs, 'records' for aggregated results | messages |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |