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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...