Getting Data In

Delete Command Permissions - Specific Index

snoobzilla
Builder

We are working on a utility to selectively push data into a summary index. Of CRUD operations we do not have Delete.

I would like to have users be able to use delete command against a that summary index, but not others. Is this possible?

Docs indicate the can_delete role is command specific. Is it possible to allow delete only for a specific index? Maybe clone the can_delete role and give it rights to only to a specific index?

0 Karma
1 Solution

dturnbull_splun
Splunk Employee
Splunk Employee

Using |delete depends on ability to search, so you could create a seperate user & role that has only permissions to a single index and includes the can_delete role.

It's not possible to selectively limit | delete

If your data is changing, it's possibly better suited to the KV Store.

View solution in original post

dturnbull_splun
Splunk Employee
Splunk Employee

Using |delete depends on ability to search, so you could create a seperate user & role that has only permissions to a single index and includes the can_delete role.

It's not possible to selectively limit | delete

If your data is changing, it's possibly better suited to the KV Store.

snoobzilla
Builder

Thanks for the info, will forward to my admin.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...