| navigation_title | Configure SLO access | |
|---|---|---|
| mapped_pages |
::::{important}
To create and manage SLOs, you need an appropriate license and an {{es}} cluster with both transform and ingest node roles present.
::::
You can enable access to SLOs in two different ways:
-
Creating the following roles, depending on the type of access needed:
- SLO Editor — Create, edit, and manage SLOs and their historical summaries.
- SLO Viewer — Check SLOs and their historical summaries.
-
Using the
editorbuilt-in role. This role grants full access to all features in {{kib}} (including the {{observability}} solution) and read-only access to data indices. Users assigned to this role can create, edit, and manage SLOs.::::{note} The
editorbuilt-in role grants write access to all {{kib}} apps. If you want to limit access to the SLOs only, you have to manually create and assign the mentioned roles.::::
To create a role:
- To open Roles, find Stack Management in the main menu or use the global search field.
- On the Roles page, click Create role.
Set the following privileges for the SLO Editor role:
-
Under Index privileges in the Elasticsearch section, add
.slo-observability.*to the Indices field andread,view_index_metadata,write, andmanageto the Privileges field. -
Click Add index privilege.
-
In the Indices field, add the indices for which you plan to create SLOs. Then, add
readandview_index_metadatato the Privileges field. The following example showslogs-*, but you can specify any indices.:::{image} /solutions/images/observability-slo-es-priv-editor.png :alt: Cluster and index privileges for SLO Editor role :screenshot: :::
-
In the Kibana section, click Add Kibana privilege.
-
From the Spaces dropdown, either select any specific spaces you want the role to apply to, or select All Spaces.
-
Set Observability → SLOs to
All.:::{image} /solutions/images/observability-slo-kibana-priv-all.png :alt: SLO Kibana all privileges :screenshot: :::
-
Click Create Role at the bottom of the page and assign the role to the relevant users.
Set the following privileges for the SLO Read role:
-
Under Index privileges in the Elasticsearch section, add
.slo-observability.*to the Indices field andreadandview_index_metadatato the Privileges field.:::{image} /solutions/images/observability-slo-es-priv-viewer.png :alt: Index privileges for SLO Viewer role :screenshot: :::
-
In the Kibana section, click Add Kibana privilege.
-
From the Spaces dropdown, either select any specific spaces you want the role to apply to, or select All Spaces.
-
Set Observability → SLOs to
Read.:::{image} /solutions/images/observability-slo-kibana-priv-read.png :alt: SLO Kibana read privileges :screenshot: :::
-
Click Create Role at the bottom of the page and assign the role to the relevant users.