splunk btool inputs list WinEventLogFor example
[WinEventLog://Application] checkpointInterval = 5 current_only = 0 disabled = 0 evt_dc_name = evt_dns_name = evt_resolve_ad_obj = 0 host = $decideOnStartup index = default interval = 60 renderXml = true start_from = oldest
The only way to include and/or exclude specific event IDs are by using whitelist and/or blacklist.
# Filtering at the input layer is desirable to reduce the total
# processing load in network transfer and computation on the Splunk platform
# nodes that acquire and processing Event Log data.whitelist = <comma-separated list> | key=regex [key=regex]
blacklist = <comma-separated list> | key=regex [key=regex]whitelist1 = <comma-separated list> | key=regex [key=regex]
whitelist2 = <comma-separated list> | key=regex [key=regex]
whitelist3 = <comma-separated list> | key=regex [key=regex]
whitelist4 = <comma-separated list> | key=regex [key=regex]
whitelist5 = <comma-separated list> | key=regex [key=regex]
whitelist6 = <comma-separated list> | key=regex [key=regex]
whitelist7 = <comma-separated list> | key=regex [key=regex]
whitelist8 = <comma-separated list> | key=regex [key=regex]
whitelist9 = <comma-separated list> | key=regex [key=regex]
blacklist1 = <comma-separated list> | key=regex [key=regex]
blacklist2 = <comma-separated list> | key=regex [key=regex]
blacklist3 = <comma-separated list> | key=regex [key=regex]
blacklist4 = <comma-separated list> | key=regex [key=regex]
blacklist5 = <comma-separated list> | key=regex [key=regex]
blacklist6 = <comma-separated list> | key=regex [key=regex]
blacklist7 = <comma-separated list> | key=regex [key=regex]
blacklist8 = <comma-separated list> | key=regex [key=regex]
blacklist9 = <comma-separated list> | key=regex [key=regex]* These settings are optional.
* Both numbered and unnumbered allow lists and deny lists support two formats:
* A comma-separated list of event IDs.
* A list of key=regular expression pairs.
* You cannot combine these formats. You can use either format on a specific
line.* Numbered allow list settings are permitted from 1 to 9, so whitelist1 through
whitelist9 and blacklist1 through blacklist9 are supported.
* If no allow list or deny list rules are present, the input reads all events.
Important: While whitelist and blacklist do support REGEX, try to keep the filter as simple as possible. For example, to index only Event ID 1058, 1125 and 1129, use the following "legacy" filter:
whitelist = 1058,1125,1129
Instead of:
whitelist = $XmlRegex = 'EventID>(1058|1125|1129)'
The "legacy" filter works for both whitelist and blacklist, and regardless whether renderXml is set to true or false. The monitoring will also be more efficient as it avoids expensive Windows API calls.
Example Inputs setting
[WinEventLog://Application] checkpointInterval = 5 current_only = 0 disabled = 0 evt_dc_name = evt_dns_name = evt_resolve_ad_obj = 0 host = $decideOnStartup index = default interval = 60 renderXml = true start_from = oldest whitelist = 1058,1125,1129
Additional Resource:
The following video from community office hours shows more depth into how to whitelist and blacklist specific windows events.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |