stack kb slo get-definitions-op cli command
Auth required
Idempotent
Scope: global
elastic stack kb slo get-definitions-op [options]
Get the SLO definitions
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--searchstring- Filters the SLOs by name
--include-outdated-onlyenum-
Indicates if the API returns only outdated SLO or all SLO definitions
Values: true, false
--include-healthenum-
Indicates if the API returns SLO health data with definitions
Values: true, false
- Filters the SLOs by tag
--pagestring- The page to use for pagination, must be greater or equal than 1
--per-pagestring- Number of SLOs returned by page
--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