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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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