stack kb security-osquery-api osquery-get-live-query-results cli command
Auth required
Idempotent
Scope: global
elastic stack kb security-osquery-api osquery-get-live-query-results \
--id <id> \
--action-id <action-id> \
[options]
Get live query results
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--idstringrequired- The ID of the live query.
--action-idstringrequired- The ID of the query action.
--kuerystring- A KQL search string to filter results.
--pagestring- The page number to return.
--page-sizestring- The number of results to return per page.
--sortstring- The field to sort results by.
--sort-orderenum-
The sort order.
Values: asc, desc
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON