Splunk Dev

how delete a data from an index

amyculquer
Explorer

I try to delete data but it does not work and show me this message Error in 'delete' command: You have insufficient privileges to delete events. So I create a user who has the the "delete_by_keyword" capability with the role can_delete but it does not work eigther.

Tags (1)

diogofgm
SplunkTrust
SplunkTrust

You have a role called "can_delete". Just add it to you user.

------------
Hope I was able to help you. If so, some karma would be appreciated.

amyculquer
Explorer

I did that, but it does not work

0 Karma

somesoni2
Revered Legend

You get the same error with your new role (which has can_delete capability)?

0 Karma

amyculquer
Explorer

Yes, I create the user named deleted which has the role of can_delete , this role is already enabled by keyword delete and still does not work and show me the error mensagge You have insufficient privileges to delete events.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...