Security

How do I remove/restrict the rights of a user/role so they can't delete data in Splunk?

srampally
Path Finder

We need to remove/restrict the rights to delete data in Splunk. i want to list all roles/user who currently have this right on all search heads so we can proceed with remove of these rights.

0 Karma

nickhills
Ultra Champion

No user has "can_delete" role by default. So unless you have given this capability to another role, then no one should have it.

To list all the users and the roles they have you can use:

 |rest /services/authentication/users splunk_server=local 
 |fields title roles realname
If my comment helps, please give it a thumbs up!
0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...