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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...