Manage Splunk Observability Cloud dataset access for roles
Splunk Observability Cloud datasets define subsets of telemetry data by product domain, such as APM service names or IMM cloud regions. Each dataset has a corresponding access policy. When you assign a dataset to a role, Splunk links the dataset's policy to the role's o11y_search_datasets capability. Searches made under that role are limited to data in the selected datasets. Dataset access is additive: a user with multiple roles can search the union of the datasets allowed by those roles. If any assigned role has unrestricted o11y_search_datasets access, the user can search all Observability datasets.
Prerequisites
The O11y Datasets tab appears only when all of the following conditions are met:
-
Your Splunk deployment is UID paired with a Splunk Observability Cloud organization.
-
The o11y_data_access_control feature and the o11y_search_datasets capability are enabled by your Splunk administrator.
-
Scoped capabilities are enabled for your deployment.
-
The role you are editing includes the o11y_search_datasets capability.
About dataset access control
Splunk Observability Cloud datasets define subsets of telemetry data by product domain (for example, APM service names or IMM cloud regions). Each dataset has a corresponding access policy. When you assign a dataset to a role, Splunk links that datasets policy to the o11y_search_datasets capability on the role, so users with that role can only search the data that falls within the selected datasets.
Dataset access is additive: users whose roles include multiple datasets have access to the union of all datasets covered by those roles.
For an overview of roles in Splunk Observability Cloud, see Manage roles. For instructions on creating roles and managing role inheritance in Splunk Web, see Create and manage roles with Splunk Web.
Native vs. inherited dataset access
A role's dataset access can come from two sources:
|
Source |
Description |
|---|---|
|
Native |
Datasets selected directly on this role. |
|
Inherited |
Datasets received automatically from a parent role that this role imports. |
For the o11y_search_datasets capability, a role can have native dataset selections or inherited dataset access, but not both. When a role imports a parent role that has dataset access, the child role inherits that access automatically.
Full capability access
When a role has the o11y_search_datasets capability without dataset restrictions—that is, no dataset policies are attached—the role has unrestricted access to all Splunk Observability Cloud datasets. In this state, all datasets appear checked in the table and individual selection is not available.
View and manage datasets for a role
In Splunk Web, go to Settings > Access Controls > Roles. Create or edit a role. Select the O11y Datasets tab. The tab displays all Observability datasets available to your deployment, grouped by organization.
Dataset table columns
|
Column |
Description |
|---|---|
|
Dataset Name |
The name of the dataset as defined in Splunk Observability Cloud. |
|
Organization |
The Splunk Observability Cloud organization the dataset belongs to. |
|
Description |
A brief description of what the dataset covers. |
|
Details |
A summary of each product domain dimension and the number of defined values. |
Select datasets
Check the box next to a dataset to grant the role access to it. Uncheck the box to remove access. Use the checkbox in the table header to select or deselect all currently visible datasets at once.
Filter datasets
Use the column filter controls to narrow the dataset list:
-
Dataset Name filter — Type any text to match dataset names. Use the View menu below the text field to limit results by access state:
-
All — Show all datasets.
-
Selected — Show datasets that are currently assigned (native or inherited).
-
Unselected — Show datasets that are not currently assigned.
-
Native — Show only datasets selected directly on this role.
-
Inherited — Show only datasets inherited from a parent role.
-
Organization filter — Select one or more organizations to show only their datasets.
View dataset details
To see the full dimension definition for a dataset: Locate the dataset row and open its action menu (the gear icon). Select Data access detail. The Dataset dimensions and values dialog opens and shows each product domain's dimension key and the specific dimension values that define the dataset's scope.
Edit a dataset definition
Datasets are created and managed in the Splunk Observability Cloud app, and not within the Splunk Web Roles interface. To modify a dataset's scope or definition: In the dataset's action menu, select Edit access definition. You are redirected to the Splunk Observability Cloud app where you can update the dataset.
Inherited dataset access
When a role imports another role that has o11y_search_datasets dataset access (either native or itself inherited), the child role inherits that access automatically. This mirrors the behavior of inherited capabilities elsewhere in Splunk.
While a role has inherited dataset access:
-
A warning banner appears at the top of the O11y Datasets tab:
You cannot select datasets because this role inherits dataset access. Selecting a dataset links its policy to the o11y_search_datasets capability, which cannot be both inherited and assigned directly (native).
-
All dataset checkboxes are disabled. You cannot add or remove individual datasets until the role no longer inherits dataset access from a parent.
To change which datasets an inherited role provides, edit the parent role that grants the access.
Removing inherited roles that conflict with native datasets
If you add a parent role that grants O11y dataset access to a role with native dataset selections, Splunk clears the native selections and shows this warning on the Inheritance tab:
'A role cannot have both inherited and native O11y datasets. Native dataset selections have been cleared and will be removed from this role when you save. The role keeps the inherited dataset access from the parent.'
When you save, the role keeps the inherited access and the native selections are removed. Removing the parent later does not restore them. To keep the native selections, remove the parent role before saving. If you have already saved, remove the parent role and select the datasets again.
Relationship to the Capabilities tab
The o11y_search_datasets capability and its dataset policies are visible on the Capabilities tab when scoped capabilities are enabled. Each selected dataset appears as a policy chip on the capability row.
If a policy associated with a dataset is deleted from the system but remains assigned to the capability, the chip is shown with a warning icon. A tooltip indicates that the policy was not found and that its assignment is still saved. For inherited missing policies, the tooltip also advises updating the assignment in the parent role.
Troubleshooting
|
Symptom |
Likely cause |
Resolution |
|---|---|---|
|
O11y Datasets tab does not appear |
One or more prerequisites are not met. |
Verify that the deployment is paired with Observability, that o11y_search_datasets is in the capability list, and that both feature flags are enabled. |
|
All dataset checkboxes are checked and greyed out |
The o11y_search_datasets capability is assigned to the role without dataset restrictions, or the role inherits unrestricted capability access. |
To use per-dataset access control, attach dataset policies to the capability instead of assigning the capability without restrictions. |
|
All dataset checkboxes are greyed out with a warning banner |
The role inherits dataset access from a parent role. |
Edit the parent role, or remove the inherited role to enable native dataset selection on this role. |
|
A dataset policy chip on the Capabilities tab shows a warning icon |
The policy was deleted after it was assigned to the capability. |
Remove the missing policy chip from the capability, or re-create the policy with the same name. For inherited missing policies, update the assignment in the parent role. |
|
Native dataset selections were cleared after selecting an inherited role |
The inherited role provides O11y dataset access, which cannot be combined with native selections. |
Remove the inherited role and re-select the desired datasets, or keep the inherited access. |