Getting Data In

Blacklist a file in my inputs.conf stanza?

daniel333
Builder

All,

I am getting an alert "Saved Search [ForwarderLevel - File Too Small to checkCRC occurring multiple times]: number of events (18) "

The file is a file on my Solaris boxes.

'/etc/dfs/sharetab'

I don't care about this file, so I thought I could just black list it in my inputs.conf like this. But doens't seem to be working. Any idea what I am missing?

[monitor:///etc]
  index = configs
whitelist=(\.conf|\.cfg|config$|\.ini|\.init|\.cf|\.cnf|shrc$|^ifcfg|\.profile|\.rc|\.rules|\.tab|tab$|\.login|policy$)
  blacklist = sharetab
disabled = False
Tags (1)
0 Karma

jacobpevans
Motivator

I'm not personally familiar with blacklisting, but I'm fairly confident you just need to use regex, e.g.:

blacklist = */sharetab/?*

https://docs.splunk.com/Documentation/Splunk/latest/Admin/InputsConf#MONITOR:

Cheers,
Jacob

If you feel this response answered your question, please do not forget to mark it as such. If it did not, but you do have the answer, feel free to answer your own post and accept that as the answer.
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...