Getting Data In

whitelist blacklist inputs.conf not respected

splunkreal
Influencer

Hello guys,

we used this in inputs.conf according to the Splunk CIM compliant addon for Unix and Linux :


[monitor:///var/log]
whitelist=(messages|secure|auth|maillog|audit\.log|cron)
blacklist=(lastlog|anaconda\.syslog)
disabled = 0
index = linux

However on UF it still looked for /var/log/anaconda/pre-anaconda.log and others, this looks weird behaviour?

Thanks.

Splunk enterprise 7.3.4

UF 7.1.4

 

* If this helps, please upvote or accept solution if it solved *
Labels (1)
0 Karma

harsmarvania57
Ultra Champion

Hi,

 

Your blacklist not correct, if you want to blacklist pre-anaconda.log then use below blacklist.

blacklist=(lastlog|pre-anaconda\.log)
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Request for Professional Development: Attending .conf26

Winning Over the Boss: Your Pass to .conf26 conf26 is going to be here before you know it. If don't already ...

Casting Call: Compete in Cyber Games

Lights, Camera, SecOps: Apply to Compete in Cyber Games     Think you have what it takes to beat the clock? ...