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!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...