Dashboards & Visualizations

Is it possible to hide the raw data (events) in a dashboard for restricted users?

santosh_hb
Explorer

I am creating a dashboard that is being accessed by only a particular user. My question is:
Is it possible to hide the raw data (Events). i.e. the user should not be able to see the raw data (Events) that is being used by the dashboard.

As I don’t have the access to Splunk environment here, I am unable to check it for the dashboards.
I am going through the Splunk documentation.

If you have come across this kind of scenario, please share me the details.

0 Karma

the_wolverine
Champion

You can create a role without any srchIndexesAllowed set. The users could be granted read-only permission to these dashboards which are populated by scheduled searches that are run by a privileged user role that can search.

List of minimum capabilities required here: https://answers.splunk.com/answers/216781/what-is-the-configuration-required-to-create-a-vie.html

0 Karma

javiergn
Super Champion

I guess you could also create an app and tweak the views so that some users can't search at all from that app.
Then create your dashboard and grant them read-only access so that they can only see what you want them to see.

You can also restrict what your users are searching and remove certain fields by appending the "fields - MYLISTOFFIELDS" to your searches (see this)

0 Karma

santosh_hb
Explorer

Thanks for the reply.
What I did was, I have hidden the "Open in Search" button in dashboard and also disabled the Drilldown functionality so that user cannot see the raw data.

I have one more point to ask:
Is there any way to restrict the raw data access through setting some user roles in Splunk...

0 Karma

javiergn
Super Champion

But users can still go to the Search view using the Search button or even typing search after the app name in the URL and then run any search commands there. You need to remove their ability to go the search view by editing the XML permissions and breaking the inheritance. You can do this from Manager -> User Interface -> Views (take a backup first).

If you don't want to do that you can also restrict what your users can search on via user roles. See this

Hope that helps

0 Karma

renjith_nair
Legend

The access restriction for data is done at index level. So even though you restrict the user at dashboard level, user will be able to search the data. If you want to display only few fields for the user, then you should use a different index to populate only selected field or use a search to populate summary index from the original index and build the dashboard on summary index and provide access to user

http://docs.splunk.com/Documentation/Splunk/6.0.2/Knowledge/Usesummaryindexing

http://docs.splunk.com/Documentation/Splunk/6.3.1511/Viz/CreateandeditdashboardsviatheUI

Happy Splunking!

jeremiahc4
Builder

Agree with @renjith.nair. I have implemented the exact setup you are looking for using summary indexing in the past. You create a role for these users, only allow it access to the summary index, then build the dashboards from the summary index. If they go snooping around they won't find anything because you have placed an active control there.

You could turn off drilldown on the dashboard to "mask" the raw data, but it is a passive control that the user could easily bypass by clicking the "Open in search" button on any dash panel.

0 Karma
Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...