Update the global SLO settings
- Base URL
-
https://{kibana_url}
- PUT /api/observability/slo_settings/global
- PUT /s/{space_id}/api/observability/slo_settings/global
Global SLO settings apply to all spaces. You must have all privileges for the SLOs feature in the Observability section of the Kibana feature privileges in all spaces. You must also have the delete_index index privilege on .slo-observability.sli-*, because the SLI retention deletes SLI data for SLOs in all spaces. Each settings block is replaced as a whole. When xpack.slo.sliRetention is set in kibana.yml, the request still saves the value, and the kibana.yml value stays effective until it is removed.
Required privileges
slo_write
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Responses
Successful request
Bad request
Unauthorized response