Getting Data In

access problem for delte command ??

rakesh_498115
Motivator

Hi ..

For the Splunk default admin login also , i am getting this error
"#Error in 'delete' command: You have insufficient privileges to delete events" ,
when i use the delete command .. What settings i have to change to get rid of this error ??.

please help thanx.

Tags (2)
1 Solution

echalex
Builder

Hi,

The delete command requires special privileges, which aren't granted to anyone by default, not even admin. Check the documentation for the delete command. The reason is that the delete command is destructive and irrevokable.

You can grant a user the can_delete role to enable deleting. It is highly recommended that you do this only temporarily for a specific user and remove the role immediately when you're finished deleting.

View solution in original post

echalex
Builder

Hi,

The delete command requires special privileges, which aren't granted to anyone by default, not even admin. Check the documentation for the delete command. The reason is that the delete command is destructive and irrevokable.

You can grant a user the can_delete role to enable deleting. It is highly recommended that you do this only temporarily for a specific user and remove the role immediately when you're finished deleting.

Get Updates on the Splunk Community!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...