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-idstringrequired- The spaceId parameter
--budgeting-methodstringrequired- The budgeting method to use when computing the rollup data.
--descriptionstringrequired- A description for the SLO.
--indicatorstringrequired--namestringrequired- A name for the SLO.
--objectivestringrequired- Defines properties for the SLO objective
--time-windowstringrequired- Defines properties for the SLO time window
--artifactsstring- Links to related assets for the SLO
--group-bystring- optional group by field or fields to use to generate an SLO per distinct value
--idstring- A optional and unique identifier for the SLO. Must be between 8 and 36 chars
--settingsstring- Defines properties for SLO settings.
- List of tags
--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