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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

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

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...