Reporting

How to set up a scheduled search that looks for the usage of the delete command in my environment?

jward6004
Explorer

I want to set up a scheduled search that will look for the usage of the delete command in my environment.

This action is secured by the can_delete user role currently.

0 Karma

inventsekar
SplunkTrust
SplunkTrust

This search will show you if anyone has run the delete command .. you can save this as a scheduled search..

index=_audit sourcetype=audittrail action=search search=*delete* 
 | where match(search,"\|\s*delete")
 | table _time search user
0 Karma

sundareshr
Legend

Set you alert to this query. If count>0, alert

index=_audit sourcetype=audittrail delete | regex _raw="\|\s*delete" 
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...