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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...