Security

Set default permissions to "all" for new views and saved searches?

rjdargi
Explorer

Right now, when a user creates a new view or saved search, it defaults to Private. Only users with the "admin" role can change these permissions.

Is there a way to change the default behavior so that all users get R/W permissions on views and saved searches?

0 Karma

woodcock
Esteemed Legend

Yes, you do this with default.meta; read about it below in the "Make objects globally available" section:

http://docs.splunk.com/Documentation/Splunk/6.2.3/AdvancedDev/SetPermissions

rjdargi
Explorer

I've attempted to do that, I've added the following to my default.meta. It doesn't seem to work, as new or cloned views still have "Sharing" set to "Private". I want them to be shared with the App itself. Am I doing this wrong?

# This should at least do views.
[views]
access = read : [ * ], write : [ * ]
# This should handle all objects, right?
[]
access = read : [ * ], write : [ * ]
0 Karma

woodcock
Esteemed Legend

You need to add export = system to each stanza for global effect.

rjdargi
Explorer

Right, I don't want global effect, I want them to stay within the app, just not restricted to the current user.

0 Karma

woodcock
Esteemed Legend

That should do it.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

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