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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...