Getting Data In

adding rolling.logs to splunk windows

brod_geico
Path Finder

I need to input below file to splunk

D:\Debug\Log\Forms\Rollingfile 

and
D:\Debug\Log\Forms\Rollingfile.log20140228 with time stamp multipe file

i tried with below things in inputs.conf file but only Rollingfile was showing

Rollingfile.log20140228 not showing in splunk

[monitor://D:\Debug\Log\Forms\*.log*]
recursive = true
crcSalt = 
whitelist = \.log$|\.txt$|\.xml$|\.out$
sourcetype = log4net
index = int


[monitor://D:\Debug\Log\Forms\]
recursive = true
crcSalt = 
disabled = 0
followTail = 0
whitelist = \.(log$
sourcetype = log4net
index = int
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Your whitelists ending in .log, .txt, etc. are conflicting with the file name ending in the date.

0 Karma

brod_geico
Path Finder

tried too not working

[monitor://D:\Debug\Log\Forms\Rollingfile*]
recursive = true
crcSalt =
sourcetype = log4net
index = forms_int

0 Karma

somesoni2
Revered Legend

Try this

[monitor://D:\Debug\Log\Forms\Rollingfile*]
recursive = true
crcSalt = <SOURCE>
sourcetype = log4net
index = int
0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!