Getting Data In

How do I edit my inputs.conf to blacklist Windows event logs with Eventcode 7036 on my Splunk 6.1.3 universal forwarder?

chrisbaker
New Member

Hi,

I'm trying to use blacklist on the Universal Forwarder to prevent unwanted events from being sent and indexed. Splunk instance and UF are both version 6.1.3
On the machine with UF, I went to C:\Program Files\SplunkUniversalForwarder\etc\system\local
The inputs.conf file looks like this:

 [default]
 host = Win7HP8440p

 [script://$SPLUNK_HOME\bin\scripts\splunk-wmi.path]

So I added a stanza as shown in many models and now it looks like this:

 [default]
 host = Win7HP8440p

 [WinEventLog://System]
 disabled = false
 blacklist1 = 7036

 [script://$SPLUNK_HOME\bin\scripts\splunk-wmi.path]

I rebooted the host with the UF and then checked on the Splunk instance and Event code 7036 keeps coming through.
I have tried many variations to match the examples I have seen ( like disabled = 0 or removing spaces around = signs etc.) but so far nothing seems to work.

Any suggestions?

0 Karma

juvetm
Communicator

hi
are you using the advanced filtering format

0 Karma

chrisbaker
New Member

How do I check for that? I don't see anything in the docs.

0 Karma

satishsdange
Builder

Any reason to add 1 to blacklist? It could be simply "blacklist = 7036"

0 Karma

chrisbaker
New Member

I've tried with and without the 1. I saw it as "blacklist1" in some examples.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...