Security

How to enable/disable dashboards based on user roles.?

gvnd
Path Finder

Hi,

I have a dashboard which consist of 20 panels. I want to display all 20 panels to a specific user role, and also I want to display only first 10 panels to some user role in the splunk.
How to do that.?
We can get user roles by using following command:
| rest splunk_server=local /services/authentication/current-context |table roles |mvexpand roles

Where should I make change to display only few panels to particular user role.
NOTE: one user role may consist many individual users.

Thanks..

0 Karma

gcusello
SplunkTrust
SplunkTrust

HI gvnd,
I think that the easiest way is to have two different dashboards one for each role.
Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...