Getting Data In

Why Monitoring a Directory is not working?

ninisimonishvil
Path Finder

Hello,

I have a folder with several files on desktop. (xml) files have same names but different numbering for ex: File1, File2. File3

I also set up a sourcetype with event breaking that I tested and it is working (if I'm uploading a file having several events)

However when I set Monitor the folder c:\path\File* Choose a sourcetype that I have created, after reviewing I'm directed to search page where there is no single event (I think those files inside my folder are not indexed)

can anyone suggest what can be a reason?

0 Karma

yahuja_splunk
Splunk Employee
Splunk Employee

A sample of the inputs.conf in a windows environment is below.

[monitor://C:\Program Files (x86)\Symantec\Symantec\data\dump\scm_admin.tmp]
sourcetype = symantec:ep:admin:file
index = symantec
disabled = false

make sure you are using the slashes correctly.

0 Karma

ninisimonishvil
Path Finder

[monitor://C:\Users\Administrator\Desktop\Folder\BEX*]

This is my monitoring path.

0 Karma
Get Updates on the Splunk Community!

See Splunk Platform & Observability Innovations at Cisco Live EMEA

Hi Splunkers, Learn about what’s next for Splunk Platform at Cisco Live EMEA.  Data silos are a big challenge ...

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...