Security

Grant Power Users Role Edit on All Saves Searches / Alerts

TobiasBoone
Communicator

We have hundreds of saved searches/reports/alerts. I need the power users role to be able to edit and maintain them, but it seems that this permission isn't set by default. Is there a way to bulk set this and have all new reports inherit Power Users / Edit?

0 Karma

jacobpevans
Motivator

There may be a better answer, but our solution to problems like this is to write a script (PowerShell for Windows) that iterates over all of the files called local.meta in all of the $Splunk_Home\etc\apps\[app]\metadata folders. You'll want to add power to the read and write attributes. E.g.

Change:

 access = read : [ admin ], write : [ admin ]

to:

 access = read : [ admin, power ], write : [ admin, power ]

You'll need to restart your instance after making these changes.

Cheers,
Jacob

If you feel this response answered your question, please do not forget to mark it as such. If it did not, but you do have the answer, feel free to answer your own post and accept that as the answer.
0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...