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- An identifier for the space. If
/s/and the identifier are omitted from the path, the default space is used. --budgeting-methodenumrequired-
Values: occurrences, timeslices
--descriptionstringrequired- A description for the SLO.
--indicatorstringrequired--namestringrequired- A name for the SLO.
--objectivestringrequired--time-windowstringrequired--artifactsstring--group-bystring-
Repeatable: pass
--group-bymultiple times to supply more than one value --idstring- A optional and unique identifier for the SLO. Must be between 8 and 48 chars
--settingsstring- List of tags
--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