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

Fields

FieldTypeRequiredDescription
channel SourcestringThe publisher channel to read events from.
query QuerystringThe query to filter events.
start-at-oldest Behaviorboolean (bool)Start with the oldest event available in the log.
debug-event-payloads Debuggingboolean (bool)Dump expanded event log data (not recommended for production).

Source

Show fields
FieldTypeRequiredDescription
channelstringThe publisher channel to read events from.

Query

Show fields
FieldTypeRequiredDescription
querystringThe query to filter events.

Behavior

Show fields
FieldTypeRequiredDescription
start-at-oldestboolean (bool)Start with the oldest event available in the log.

Debugging

Show fields
FieldTypeRequiredDescription
debug-event-payloadsboolean (bool)Dump expanded event log data (not recommended for production).