Windows Event Log source
The eventlog source subscribes to Windows Event Log channels and streams events in real time.
This source is only available on Windows.
Configuration
Options
| Option | Type | Default | Description |
|---|---|---|---|
channel | string | required for XPath queries | Event log channel name (e.g. "Security", "Application", "System") |
query | string | "" | XPath 1.0 or structured XML query to filter events |
buffer | int | 128 | Maximum events buffered between reads. Events are dropped if the buffer fills. |
Examples
Collect Security events
Filter with an XPath query
Multiple channels
Event fields
| Field | Value |
|---|---|
sourceType | "eventlog" |
rawLog | Event data |