Getting Data In

Inputs.conf monitoring of a Dir and a specific log within it

Wilf
Explorer

What is the precedence? or will it creat problems if I am monitoring All files in directory and also monitor a specific file in that dir.

I need to tag this seperate from other syslog

[monitor:///log/new/local6]
sourcetype=syslog_local6

All remaining log files are generic syslog

[monitor:///log]
followTail=0
ignoreOlderThan=1d
recurse=true
sourcetype=syslog

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Specify a blacklist entry in the generic stanza. Apart from what splunk would do, this makes it much more obvious to others trying to understand how your configuration works.

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Specify a blacklist entry in the generic stanza. Apart from what splunk would do, this makes it much more obvious to others trying to understand how your configuration works.

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...