Getting Data In

Why isn't whitelisting for universal forwarder working in Splunk v6.6.3?

hrithiktej
Communicator

I am using UF 6.6.3.0 on my domain controller and following is my inputs.conf. The whitelisting part is not working I am seeing all event codes.

[WinEventLog://Security]
disabled = 0
start_from = newest
current_only = 1
evt_resolve_ad_obj = 0
checkpointInterval = 5

only index events with these event IDs.

whitelist = 4723,4724,4740,4782
index = wineventlog
renderXml=false

1 Solution

hrithiktej
Communicator

I figured this out here is my new inputs.conf.

IF YOU DONT TYPE blacklist it will not understand whitelist

[WinEventLog://Security]
disabled = 0
start_from = newest
current_only = 1
evt_resolve_ad_obj = 0
checkpointInterval = 5

only index events with these event IDs.

whitelist = 4723,4724,4740,4782

exclude these event IDs from being indexed.

blacklist = 1100-8191
index = wineventlog
renderXml=false

View solution in original post

hrithiktej
Communicator

I figured this out here is my new inputs.conf.

IF YOU DONT TYPE blacklist it will not understand whitelist

[WinEventLog://Security]
disabled = 0
start_from = newest
current_only = 1
evt_resolve_ad_obj = 0
checkpointInterval = 5

only index events with these event IDs.

whitelist = 4723,4724,4740,4782

exclude these event IDs from being indexed.

blacklist = 1100-8191
index = wineventlog
renderXml=false

gcusello
SplunkTrust
SplunkTrust

Hi hrithiktej,
in whitelist you have to insert regexes (see http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf ).
So in your case, if 4723,4724,4740,4782 are only numbers, try

whitelist = 4723|4724|4740|4782

if they are EventCodes, try

whitelist = EventCode\=4723|EventCode\=4724|EventCode\=4740|EventCode\=4782

(check if in your events EvenCode is written as EventCode or EventID)

Bye.
Giuseppe

hrithiktej
Communicator

thanks for your reply .please check my resolution for this issue below

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...