Getting Data In

monitoring syslogd - not indexing multiple "local" folders

Runals
Motivator

All - any help would be appreciated on this!

I've installed a universal forwarder onto a system that has an older version of syslog. While not optimal from a Splunk log categorization perspective the files created look basically like this:

auth
authpriv
cron
daemon
...
local0
local1
local2
...
syslog

From the inputs.conf file I had I was getting all of those except when it hit the "local" files - it was just grabbing local0. So from the list above it was getting everything before local0, local0, then skipping the rest of the "locals" and moving down to whatever was next. The problem of course is I need to get all. I then modified the inputs file to blacklist the local folders and call them out specifically.

[monitor:///home/repo10/r0/log13/...]
blacklist = local*
sourcetype = syslog
disabled = false

[monitor:///home/repo10/r0/log13/local*]
sourcetype = syslog
disabled = false

This still only brings in local0. I then took it a step further and called out local0 and local7 in their own stanzas but it isn't grabbing 7.

Any thoughts? I'm guessing it is something minor.

Tags (2)
0 Karma

kristian_kolb
Ultra Champion

Have you checked for errors in splunkd.log?
Have a look at the REST endpoint for your system:

https://computername:8089/admin/services/inputstatus/TailingProcessor:FileStatus

This should give you a listing of the files that Splunk are trying to read, and how it has succeeded in doing so.

Hope this helps,

Kristian

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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