Loading

stack kb slo create-slo-op cli command

Auth required
elastic stack kb slo create-slo-op \
  --space-id <space-id> \
  --budgeting-method <budgeting-method> \
  --description <description> \
  --indicator <indicator> \
  --name <name> \
  --objective <objective> \
  --time-window <time-window> \
  [options]
		

Create an SLO

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--space-id string required
The spaceId parameter
--budgeting-method string required
The budgeting method to use when computing the rollup data.
--description string required
A description for the SLO.
--indicator string required
--name string required
A name for the SLO.
--objective string required
Defines properties for the SLO objective
--time-window string required
Defines properties for the SLO time window
--artifacts string
Links to related assets for the SLO
--group-by string
optional group by field or fields to use to generate an SLO per distinct value
--id string
A optional and unique identifier for the SLO. Must be between 8 and 36 chars
--settings string
Defines properties for SLO settings.
--tags string[]
List of tags
--input-file string
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