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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...