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
Legend

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!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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