Splunk Search

Finding entries deleted from log

trodenbaugh
Explorer

I'm working with an application that adds an entry to a log file, updates the status of that entry as it progresses and then deletes the entry when it is complete. I'm trying to identify when the application may be stopped for longer than 4 hours. Transactions seem to work to capture the progression of the application, there are instances where the application gets an error and removes the entry without updating the status.

Is there a search to determine when the entry was removed from the log?

Tags (1)
0 Karma

jbsplunk
Splunk Employee
Splunk Employee

you could use fschange to index the file and compare it to previously indexed instances of the file.

http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitorchangestoyourfilesystem

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...