Getting Data In
Highlighted

adding rolling.logs to splunk windows

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
Highlighted

Re: adding rolling.logs to splunk windows

SplunkTrust
SplunkTrust

Try this

[monitor://D:\Debug\Log\Forms\Rollingfile*]
recursive = true
crcSalt = <SOURCE>
sourcetype = log4net
index = int
0 Karma
Highlighted

Re: adding rolling.logs to splunk windows

Path Finder

tried too not working

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

0 Karma
Highlighted

Re: adding rolling.logs to splunk windows

SplunkTrust
SplunkTrust

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

0 Karma