All Apps and Add-ons

Why is my inputs.conf monitor stanza on a local file directory in my Windows universal forwarder not picking up data?

nce054
Path Finder

I am trying to use a Universal Forwarder to monitor some local files. I am editing the file $SPLUNK_HOME\etc\apps\Splunk_TA_windows\local\inputs.conf , adding the following statement:

[monitor:///.../*.txt]
index = main
recursive = false
disabled = 0

It is my understanding that this will search the root directory and all sub-directories for any text files. Am I missing something? I haven't seen any new data appear on my Indexer.

0 Karma

adauria_splunk
Splunk Employee
Splunk Employee

That looks like a Unix file path, not Windows. Since I see this is within the Windows TA, shouldn't the path start with c:\ ?

adauria_splunk
Splunk Employee
Splunk Employee

There should be a backslash after the colon (website formatting nonsense)

0 Karma

nce054
Path Finder

I changed that now, so that it is
[monitor://c:...*.txt]
and still no luck.

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 ...