Alerting

How to achieve a search to detect a file deletion in fileserver?

msiri
Observer

Hello everyone and thanks in advance.

I'm trying to make a search for file deletion but it isn't working.

Do you have any example of a use case? I tested using sysmon but when I delete a file I can't see event 23.

0 Karma

BryantRivera
New Member

Assuming you are using a Windows OS you could:

1) Enable security auditing for files/folders (this is done within the windows OS, can be enabled via group policy)
2) Use SplunkUniversalForwarder to monitor the Event Log for events 4660 & 4663 (see Splunk: Monitor file system changes on Windows)

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @msiri,

at first you have to enable file monitoring on the File Server, but I don't know hot to do it.

Then, you'll have these information in the WinEventLog:Security  and you can search it: I don't know the EventCode, but you can ask it to the Windows Administator.

Ciao.

Giuseppe

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...