Getting Data In

Parameter "blacklist" in inputs.conf

templier
Communicator

Hello, friends!

We have:
Splunk server (indexer) and computer with WinXP and UniversalForwarder.
The task was to remove some windows security events from Splunk indexer.
It was solved by using the parameter "blacklist" in inputs.conf on computer with WinXP.

  • inputs.conf

    [WinEventLog://Security]
    disabled = false
    blacklist = 538,540

And all that is needed work, the data came from the EventLog except the two specified ID (538 and 540).

The problem started when I decided to add a third ID (576).
I change the inputs.conf:

[WinEventLog://Security]
disabled = false
blacklist = 538,540,576

Save, restart splunk service.

And any event from the EventLog from this machine stopped coming to indexer.
If i change inputs.conf to original appearance (when two of Event) - all working again as necessary.

What can be caused by this problem?

Thx!

1 Solution

bshuler_splunk
Splunk Employee
Splunk Employee

The blacklist parameter is a regular expression:

http://regexone.com

This worked in my test:

blacklist = 538|540|576

Here is the documentation for the parameter:

http://docs.splunk.com/Documentation/Splunk/latest/admin/Inputsconf

View solution in original post

bshuler_splunk
Splunk Employee
Splunk Employee

The blacklist parameter is a regular expression:

http://regexone.com

This worked in my test:

blacklist = 538|540|576

Here is the documentation for the parameter:

http://docs.splunk.com/Documentation/Splunk/latest/admin/Inputsconf

templier
Communicator

Thx. Сheck shortly.
The last time was not the time to do it

0 Karma

rakesh_498115
Motivator

have u tried blacklist =(576|538|540)

0 Karma

templier
Communicator

Of course I checked a security log for the presence of this ID's. In security log entry is present, they are not present in splunk.

0 Karma

Pierceyuk
Path Finder

Have you checked the event log to see if there are events not with those ID's? just want to rule out the obvious etc...

0 Karma

templier
Communicator

blacklist = 576,538,540 and blacklist = 576,538 - the same result 😞
As an option to make the whitelist with all EventID Except for these ID, but will try it later. I think this can not be caused by the free license.

0 Karma

somesoni2
Revered Legend

Just to be sure, can you try changing the order of event ids in blacklist?

0 Karma

templier
Communicator

Yes, other data from this machine come correct. Disappears only EventLog.

0 Karma

laserval
Communicator

Do you get other events from the forwarder? Can you see any errors or warnings from the forwarder when searching in index=_internal?

0 Karma
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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...