stack kb slo find-slos-op cli command
Auth required
Idempotent
Scope: global
elastic stack kb slo find-slos-op [options]
Get a paginated list of SLOs
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--filtersstring- A JSON-encoded Elasticsearch query DSL filter to apply to the SLO summaries
--kql-querystring- A valid kql query to filter the SLO with
--pagestring- The page to use for pagination, must be greater or equal than 1
--per-pagestring- Number of SLOs returned by page
--sort-byenum-
Sort by field
Values: error_budget_consumed
--sort-directionenum-
Sort order
Values: asc
--hide-staleenum-
Hide stale SLOs from the list as defined by stale SLO threshold in SLO settings
Values: true, false
--search-afterstring[]-
The cursor to use for fetching the results from, when using a cursor-based pagination.
Repeatable: pass
--search-aftermultiple times to supply more than one value --sizestring- The page size to use for cursor-based pagination, must be greater or equal than 1
--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)
--no-validate- skip input validation and send the request as-is
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json-
output as JSON