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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...