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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...