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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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