Getting Data In

How to write a query that will fetch logs that will identify files that were deleted?

Vipin_Pavithran
Explorer

Hi All,

Some files has been deleted by someone from one of the  server, I need to investigate on that. We only know the host name but not sure which file is deleted or by whom.

Can anyone tell me exact query I need to type in search head to fetch the logs from Splunk to identify if any files has been deleted from my server.

I'm totally new to Splunk, kindly assist
 
Regards,
Vipin

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

We can't say what the exact query should be without knowing everything about your Splunk environment.  To answer in general terms requires knowing what data is known about the files.  Are you Splunking the entire file system?  Do you have audit logs in Splunk?  Splunk only knows what the server tells it so if the server didn't notify Splunk about the files being deleted then no search query will find that information.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

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 at Splunk .conf24 ...

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

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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