Security

What is the configuration required to create a view-only role?

the_wolverine
Champion

I want to create a role where the user is not able to search Splunk. They should only be able to view dashboards that have been pre-populated by scheduled searches.

Labels (1)
1 Solution

somesoni2
Revered Legend

Here is what you can do

  1. Create a User Role, say read-only-user with following capabilities:-
    change_own_password
    get_metadata
    rest_properties_get
    search

  2. Go to Manager Apps and for Sharing permission for app 'Search & Reporting', give read permission to all roles except 'read-only-user' role. By default Read is assigned to 'Everyone'

  3. For Splunk Apps that user in role 'read-only-user' should access, change the home page from 'search' to appropriate dashboard. Otherwise, they'll get error while opening the App.

You should be all set.

List item

View solution in original post

agentguerry
Path Finder

would this be an appropriate way to complete this?

https://answers.splunk.com/answers/550347/how-to-create-dashboard-app.html

0 Karma

somesoni2
Revered Legend

Here is what you can do

  1. Create a User Role, say read-only-user with following capabilities:-
    change_own_password
    get_metadata
    rest_properties_get
    search

  2. Go to Manager Apps and for Sharing permission for app 'Search & Reporting', give read permission to all roles except 'read-only-user' role. By default Read is assigned to 'Everyone'

  3. For Splunk Apps that user in role 'read-only-user' should access, change the home page from 'search' to appropriate dashboard. Otherwise, they'll get error while opening the App.

You should be all set.

List item

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...