Get the global SLO settings

Base URL
https://{kibana_url}
  • GET /api/observability/slo_settings/global
  • GET /s/{space_id}/api/observability/slo_settings/global
Auth

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. The response holds the saved settings and the resolved settings, which the xpack.slo.sliRetention setting in kibana.yml can override.

Required privileges

slo_write

Path parameters

space_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

Request body

Any of:

Responses

Successful request

application/json
sliRetention object required

enabled and periodDays hold the saved values, or the defaults when nothing was saved.

effective object required
enabled boolean required

Indicates if SLI retention is enabled

periodDays integer · min: 1 · max: 9007199254740991 required

The number of days of SLI data to keep

source enum required

Where the resolved value comes from: default is the built-in value, settings is the saved value, and config is the xpack.slo.sliRetention setting in kibana.yml

Values: default settings config
enabled boolean required

Indicates if dated SLI indices older than the retention period are deleted

periodDays integer · min: 1 · max: 9007199254740991 required

The number of days of SLI data kept when SLI retention is enabled

updatedAt string · format: date-time · max length: 128 required nullable

When the SLI retention was last saved, or null when it was never saved

Base URL
https://{kibana_url}