Getting Data In

Will a universal-forwarder monitor a newly created subdirectory while it's already running, or do I need to restart the forwarder?

a212830
Champion

Hi,

Will a universal forwarder pick up a newly created subdirectory after it's already running?

For example, I'm monitoring /apps/logs/ with a recursive statement and a whitelist. If a new sub-directory gets created after the forwarder is running, will it monitor it? Or, do I need to restart the UFW?

0 Karma

mzorzi
Splunk Employee
Splunk Employee

It will pick it up, as long as the recursive optiont is enabled and it matches the whitelist and blacklist

MuS
SplunkTrust
SplunkTrust

And don't forget file system permissions; if the Splunk user is not able to read the new directory, it will never be picked up.......

0 Karma

Isaias_Garcia
Path Finder

@mzorzi - im having the same issue. how can i configure the inputs.conf to have it recursive?

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...