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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...