Splunk Enterprise

How to filter certain logs on forwarder with certain key words or KV pairs in inputs.conf

nevinas
New Member

How do we filter certain logs on HF using inputs.conf

Tried the below 2 ways but no luck.

---------------------------------------------------------
 
[monitor:///syslog/cisco/ios/]
 
blacklist = IME_ID = "*"
blacklist1 = TCA_ID = "*"
 
 
-------------------------------------------------------------
 
[monitor:///syslog/cisco/ios/]

blacklist2="DOMAIN-2-IME_DETAILS"
blacklist3 = "DOMAIN-2-IME_DETAILS"

 

Labels (3)
0 Karma

to4kawa
Ultra Champion
blacklist = <regular expression>
* If set, files from this input are NOT monitored if their path matches the
  specified regex.

https://docs.splunk.com/Documentation/Splunk/8.0.5/Admin/Inputsconf

maybe, you need transforms.conf setting.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...