The in_windows_eventlog Input plugin allows Fluentd to read events from the Windows Event Log.
Installation
in_windows_eventlog is included in td-agent 3 MSI by default. Fluentd gem users will need to install the fluent-plugin-windows-eventlog gem using the following command:
Multiple channels can be specified, separated by comma , or array type:
Default: ["application"]
read_interval
The interval of reading the Windows Event log.
Default: 2 seconds
<storage>
<storage> section is the configuration for storage plugin. in_windows_eventlog plugin uses storage plugin for recording the position it last read from.
By default, the local file is used. If you want to use on memory storage, set persistent false.
If you set root_dir in <section> and set @id in the plugin configuration, the path parameter is automatically generated. If not, you need to set path in <storage> section.
<storage>
persistent true
path C:\opt\td-agent\winevt.pos # This is required when persistent is true.
# Or, use <system> section's root_dir parameter.
</storage>