Getting Data In

How to monitor last modified date on a checkin file without importing the file contents into Splunk?

duffeysplunk
Path Finder

We have a file being generated by a vendor that they write data to on a regular basis. I do not need to import the data in the file directly into splunk, but need to monitor the timestamp of the last modified date (Windows system). Based on the documentation they provided me, this file serves also as a checkin file and if the file is not being updated within a certain amount of time it means a critical component is down. What ways can you monitor this last modified date in Splunk? As stated my preference is not have to import the file contents.

Splunk 6.2.3

0 Karma
1 Solution

woodcock
Esteemed Legend

I believe @LukeMurphy wrote an app for this kind of thing; see the whole discussion here (with other options/answers that should also work for you):

http://answers.splunk.com/answers/248308/how-can-i-monitor-a-directory-for-existence-of-a-f-1.html#c...

View solution in original post

0 Karma

bmacias84
Champion

This can be accomplish through Windows file or directory audit. Once enabled event for change, delete, open, etc will start appearing in the windows security event log. This is control on a file or directory basis. Here is a Splunk blog article on this.

http://blogs.splunk.com/2013/07/08/audit-file-access-and-change-in-windows/

0 Karma

woodcock
Esteemed Legend

I believe @LukeMurphy wrote an app for this kind of thing; see the whole discussion here (with other options/answers that should also work for you):

http://answers.splunk.com/answers/248308/how-can-i-monitor-a-directory-for-existence-of-a-f-1.html#c...

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...