windows_eventlog
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:
Example Configuration
Refer to the Configuration File article for the basic structure and syntax of the configuration file.
Event Example
in_windows_eventlog
sets the corresponding channel to the channel
field.
Here are some generated events:
Plugin Helpers
Parameters
See Common Parameters.
@type
(required)
@type
(required)The value must be windows_eventlog
.
tag
(required)
tag
(required)The tag of the event.
channels
channels
The event log channels to read.
Multiple channels can be specified, separated by comma ,
or array type:
Default: ["application"]
read_interval
read_interval
The interval of reading the Windows Event log.
Default: 2
seconds
<storage>
<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.
Learn More
FAQ
in_windows_eventlog
can't read setup
or security
events, why?
in_windows_eventlog
can't read setup
or security
events, why?You need administrator privileges to read these channels. Launch fluentd
/td-agent
as an administrator.
Further Reading
This page does not describe all the possible configurations. If you want to know about other configurations, please check the link below:
If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is an open-source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.
Last updated