Skip to content

Windows Event Log

Windows Event Log (windows-event-log)

Read events from Windows Event Log.

Windows json

Minimal example

input:
windows-event-log:
channel: ~
query: ~
JSON
{
"input": {
"windows-event-log": {
"channel": null,
"query": null
}
}
}

Contents

Behavior

Behavior
FieldTypeRequiredDescription
start-at-oldestboolean (bool)Start with the oldest event available in the log.
Default: false

Debugging

Debugging
FieldTypeRequiredDescription
debug-event-payloadsboolean (bool)Dump expanded event log data (not recommended for production).
Default: false

Query

Query
FieldTypeRequiredDescription
querystringThe query to filter events.

Source

Source
FieldTypeRequiredDescription
channelstringThe publisher channel to read events from.