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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...