Dashboards & Visualizations

Dashboard permissions

L_Petch
Path Finder

Hello,

 

I have a dashboard that checks all indexes and displays the event count for today and the last write time. This allows users of the dashboard to alert if an index has not been written to in a certain amount of time.

 

My issue is that the dashboard runs when the user clicks into it and runs the searches using their permissions as expected. However they do not have access to all indexes so cannot see the stats for all indexes. What is the easiest way to change this so that they can see an event count for all indexes without having to give them access to the index?

 

 

Labels (1)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

You can define the underlying search as a report and use it to power the dashboard panel. Then set the report to be run as owner instead of the calling user.

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @L_Petch ,

schedule an alert that writes the indexes status in a lookup or in a summary index.

Ciao.

Giuseppe

0 Karma

PickleRick
SplunkTrust
SplunkTrust

That's another way to tackle this problem. The difference is that my solution is (or at least can be) synchronous - the search gets run when your user opens the dashboard while @gcusello 's one needs to be run on schedule and you're displaying their result asynchronously.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @L_Petch ,

good for you, see next time!

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated by all the contributors 😉

0 Karma

PickleRick
SplunkTrust
SplunkTrust

You can define the underlying search as a report and use it to power the dashboard panel. Then set the report to be run as owner instead of the calling user.

0 Karma
Get Updates on the Splunk Community!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

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

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...