Getting Data In

Monitoring a folder

indikaw
Explorer

We are talking about the Splunk capability of monitoring any type of logs. I am having a gunieune issue to to monitor Splunk activity on a partucar folder. I got a folder with large number of files in it that I have told Splunk to monitor once. But how do I know when it's started and when it has stopped. Also to make sure Splunk has indexed all of them successfully. This looks to be a simple question. But can anyone has experience on this and appreciate an answer. I have asked this before and didn't hear anything.

Tags (2)
0 Karma

Ayn
Legend

It's a simple enough question, but not very common because Splunk is most often not used for reading files/directories a single time like that so it's hard to say when it's "done" if it's monitoring a file that's being continuously updated.

That said, you could use the TailingProcessor:FileStatus endpoint to check the status of various monitors. Better yet, use amrit's script that does this for you and makes it look a bit nicer: http://blogs.splunk.com/2011/01/02/did-i-miss-christmas-2/

0 Karma
Get Updates on the Splunk Community!

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...