You can set up filters for Windows Event channels to explicitly include or exclude log events.
You use the whitelist and blacklist parameters to evaluate a filter expression. The filter expression is a Boolean expression that consists of event fields and operators.
- The whitelist parameter collects only log events for which the filter expression evaluates to non-zero. If you omit this parameter, the value is an implied 1.
- The blacklist parameter excludes log events for which the filter expression evaluates to non-zero. The default value is 0.
For a complete list of Windows event fields and operators see Event Fields and Operators.
Prerequisites
Log in to the Windows machine on which you installed the vRealize Log Insight Windows agent and start the Services manager to verify that the vRealize Log Insight agent service is installed.
Procedure
Example: Filter Configurations
You can configure the agent to collect only error events, for example
[winlog|Security-Error] channel = Security whitelist = Level == WINLOG_LEVEL_CRITICAL or Level == WINLOG_LEVEL_ERROR
You can configure the agent to collect only VMware Network events from Application channel, for example
[winlog|VMwareNetwork] channel = Application whitelist = ProviderName == "VMnetAdapter" or ProviderName == "VMnetBridge" or ProviderName == "VMnetDHCP"
You can configure the agent to collect all events from Security channel except particular events, for example
[winlog|Security-Verbose] channel = Security blacklist = EventID == 4688 or EventID == 5447