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
Legend

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

0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!