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

Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

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

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...