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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...