Export scheduled query results
- Base URL
-
https://{kibana_url}
- POST /api/osquery/scheduled_results/{scheduleId}/{executionCount}/_export
- POST /s/{space_id}/api/osquery/scheduled_results/{scheduleId}/{executionCount}/_export
Export all result rows for a specific scheduled query execution as a downloadable file. The response is a streaming file attachment in the requested format.
Responses
Bad request. Possible causes: invalid or missing format query parameter, malformed KQL in the request body, invalid esFilters, or the result count exceeds the 500,000-row limit.
403
The authenticated user does not have the osquery-read privilege required to export scheduled query results.