Hi,
So, I think I'm missing something obvious here. a 2 part question.
1) I have one of several inputs defined as:
monitor:///data/logs]
disabled = false
host_segment = 4
index = default
sourcetype = syslog
There are several directories under /data/logs/${DATE}. It appears that Splunk has "missed" them as files to index and add to the Splunk DB.
Is there a way to kick Splunk to index files that it appears to have missed? Permissions, ownerships are correct... I'm stumped.
2) Order of precedence.
From $SPLUNK/etc/apps/search/local/inputs.conf
monitor:///data/logs]
disabled = false
host_segment = 4
index = default
sourcetype = syslog
[monitor:///data/logs/*/abc*/maillog]
disabled = false
host_segment = 4
index = default
sourcetype = postfix_syslog
It doesn't appear that files that match the 2nd input are getting tagged with the correct sourcetype. /data/logs/2009.11.1/abc783/maillog is showing up in Splunk, but is sourcetyped as syslog, not postfix_syslog.
Does the order of inputs matter? Does it find the most specific match for a particular file and apply it, or does the first match it finds win?
I've looked over the docs for 4.0.5 for inputs and can't find any reference to this question.
Thanks!
Tags: files, inputs, of, operations, order
-
▶ Reply to This