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!

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