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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...