Splunk Search

Does universal forwarder need to monitor each sub-folder of text files, or just the parent folder?

bcusick
Communicator

HI, I'm trying to use a forwarder to monitor a network share. My forwarder sits on one server, and needs to read the network drive. I've monitored other drives remotely with this same domain account and server (and still doing so).

The only difference here is that this directory "\trades\" contains multiple folders, instead of just text files under "\trades\" as I've done previously. I've set up the inputs file and restarted the forwarder, but I don't see any data in Splunk yet.

Do I need to specifically monitor EACH sub-folder that contains text files? Or should I be able to just monitor from the parent folder down with some special command? Thanks.

0 Karma
1 Solution

bcusick
Communicator

It looks like this fizzled itself out. It took a while for Splunk to index everything (I'm guessing because the directory was large and across the network) but a few days later I have millions of events. 🙂

View solution in original post

0 Karma

bcusick
Communicator

It looks like this fizzled itself out. It took a while for Splunk to index everything (I'm guessing because the directory was large and across the network) but a few days later I have millions of events. 🙂

0 Karma

yannK
Splunk Employee
Splunk Employee

Splunk should by default look at sub folders too.
Please double check
- your monitor stanza and your whitelists/blacklists.
- the btool result of your inputs, to check is the option "recursive = false" is used

see http://docs.splunk.com/Documentation/Splunk/6.1.3/admin/Inputsconf
and the btool http://docs.splunk.com/Documentation/Splunk/6.1.3/Troubleshooting/Usebtooltotroubleshootconfiguratio...

martin_mueller
SplunkTrust
SplunkTrust

What settings did you use in your inputs.conf?

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

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...