stack kb slo find-slos-op cli command
Auth required
Idempotent
Scope: global
elastic stack kb slo find-slos-op --space-id <space-id> [options]
Get a paginated list of SLOs
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--space-idstringrequired- An identifier for the space. If
/s/and the identifier are omitted from the path, the default space is used. --kql-querystring- A valid kql query to filter the SLO with
--sizenumber- The page size to use for cursor-based pagination, must be greater or equal than 1
--search-afterstring[]-
The cursor to use for fetching the results from, when using a cursor-base pagination.
Repeatable: pass
--search-aftermultiple times to supply more than one value --pagenumber- The page to use for pagination, must be greater or equal than 1
--per-pagenumber- Number of SLOs returned by page
--sort-byenum-
Sort by field
Values: sli_value, status, error_budget_consumed, error_budget_remaining
--sort-directionenum-
Sort order
Values: asc, desc
--hide-stale- Hide stale SLOs from the list as defined by stale SLO threshold in SLO settings
--input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON