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
Get Updates on the Splunk Community!

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...