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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

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

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...