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
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>