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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...