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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...