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!

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 ...