The blacklist parameter set for Windows Security Event ID 4662 logs in the inputs.conf file in the universal forwarder was removed, still the event logs were not getting ingested into Splunk Cloud.
In order to blacklist Event ID 4662, the below parameters were configured for the Windows security logs in the Universal Forwarder, under the path opt/splunk/etc/apps/Splunk_TA_windows/default/inputs.conf
[WinEventLog://Security]
disabled = 0
start_from = oldest
current_only = 0
evt_resolve_ad_obj = 1
checkpointInterval = 5
blacklist1 = EventCode="4662" Message="Object Type:(?!\s*groupPolicyContainer)"
blacklist2 = EventCode="566" Message="Object Type:(?!\s*groupPolicyContainer)"
renderXml=true
Later these Windows security logs were re-configured in the local folder under the path opt/splunk/etc/apps/Splunk_TA_windows_SecKit_0_all_inputs/local/inputs.conf
[WinEventLog://Security]
disabled = 0
evt_resolve_ad_obj = 1
checkpointInterval = 5
blacklist1 = EventCode="4662" Message="Object Type:(?!\s*groupPolicyContainer)"
blacklist2 = EventCode="566" Message="Object Type:\s+(?!groupPolicyContainer)"
blacklist3 = EventCode="4688" Message="New Process Name: (?i)(?:[C-F]:\Program Files\Splunk(?:UniversalForwarder)?\bin\(?:btool|splunkd|splunk|splunk-(?:MonitorNoHandle|admon|netmon|perfmon|powershell|regmon|winevtlog|winhostinfo|winprintmon|wmi)).exe)"
index = oswinsec
In order to ingest Security events with Event ID 4662, the blacklist parameter set for these events were removed from the path opt/splunk/etc/apps/Splunk_TA_windows_SecKit_0_all_inputs/local/inputs.conf :
[WinEventLog://Security]
disabled = 0
evt_resolve_ad_obj = 1
checkpointInterval = 5
blacklist2 = EventCode="566" Message="Object Type:\s+(?!groupPolicyContainer)"
blacklist3 = EventCode="4688" Message="New Process Name: (?i)(?:[C-F]:\Program Files\Splunk(?:UniversalForwarder)?\bin\(?:btool|splunkd|splunk|splunk-(?:MonitorNoHandle|admon|netmon|perfmon|powershell|regmon|winevtlog|winhostinfo|winprintmon|wmi)).exe)"
index = oswinsec
Observed that Blacklist parameter set for the EventCode "4662" in the default folder of inputs.conf under the app "Splunk_TA_windows" took precedence over the Blacklist parameter set for EventCode "4662" in the local folder of the inputs.conf that was set under the app "Splunk_TA_windows_SecKit_0_all_input"
Even though the blacklist parameter for the Event ID 4662 were removed still logs were unable to ingest because of the parameter name and numeric i.e., blacklist 1.
When the Event ID 4662 were removed from local, and blacklist 2 and blacklist 3 were kept for other events, blacklist 1 still existed in the default folder.
There were no issue with precedence here, as blacklist 1 was never existed under local.
Hence, modified the Blacklist2 parameter set for the security logs as Balcklist1 under opt/splunk/etc/apps/Splunk_TA_windows_SecKit_0_all_inputs/local/inputs.conf
[WinEventLog://Security]
disabled = 0
evt_resolve_ad_obj = 1
checkpointInterval = 5
blacklist1 = EventCode="566" Message="Object Type:\s+(?!groupPolicyContainer)"
blacklist2 = EventCode="4688" Message="New Process Name: (?i)(?:[C-F]:\Program Files\Splunk(?:UniversalForwarder)?\bin\(?:btool|splunkd|splunk|splunk-(?:MonitorNoHandle|admon|netmon|perfmon|powershell|regmon|winevtlog|winhostinfo|winprintmon|wmi)).exe)"
index = oswinsec
After the modification, created new logs in the Domain controller and pushed the logs from Universal forwarder and observed that the logs were ingested to Splunk cloud successfully.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |