- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to filter certain logs on forwarder with certain key words or KV pairs in inputs.conf
nevinas
New Member
07-23-2020
05:45 AM
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 = "*"
blacklist1 = TCA_ID = "*"
-------------------------------------------------------------
[monitor:///syslog/cisco/ios/]
blacklist2="DOMAIN-2-IME_DETAILS"
blacklist3 = "DOMAIN-2-IME_DETAILS"
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
to4kawa
Ultra Champion
07-23-2020
05:57 AM
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.
