Security

delete_by_keyword not working

athorat
Communicator

Want to grant delete permissions for a non admin account for specific prod-test-* indexes
Created a new role and mapped it to an AD group but does not seem to like it. Users still get , Error in 'delete' command: You have insufficient privileges to delete events.

[role_test_access]
srchIndexesAllowed = _audit
deleteIndexesAllowed = prod-test*
delete_by_keyword= enabled

Any suggestions highly appreciated.

Tags (2)
0 Karma

renjith_nair
Legend

@athorat,

Add the below also to your authorize.conf

importRoles = can_delete
Happy Splunking!
0 Karma

athorat
Communicator

Thanks @renjith.nair , Doesnt seem to work.

0 Karma

renjith_nair
Legend

@athorat,
Have you posted your entire role definition above or is it only some part of it?
Because, search capability is missing in the above role definition which is required and also the srchIndexesAllowed has only _audit. Probably you need to add prod-test* as well so that the users can search on those indexes as well.

Happy Splunking!
0 Karma
Get Updates on the Splunk Community!

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 ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...