Skip to main content

Windows Event Log

Overview

Windows Event Log reads events from Windows Event Log channels.

Supported platforms

  • Windows: Logs

Event Channels

ParameterTypeDefault ValueRequiredDescription
securitybooleanfalseNoEnable reading from the Security event channel.
systembooleanfalseNoEnable reading from the System event channel.
applicationbooleanfalseNoEnable reading from the Application event channel.
custom_channelsarray[]NoList of custom event channel names to read from.

Basic Configuration

ParameterTypeDefault ValueRequiredDescription
max_readsinteger100NoThe maximum number of messages to read from the channel.
start_atstringendNoSpecify whether to start reading from the beginning or end of the channel.
poll_intervalstring1sNoThe time interval between polling attempts.
querystringnoneNoA custom query to filter or retrieve data.

Attributes & Resources

ParameterTypeDefault ValueRequiredDescription
attributesobject{}NoA collection of key-value pair attributes for the channel.
resourceobject{}NoDefines the resource as key-value pairs.

Advanced Settings

ParameterTypeDefault ValueRequiredDescription
rawbooleanfalseNoWhen enabled, reads the raw data without any parsing.
suppress_rendering_infobooleanfalseNoDisables the display of rendering information in the output.
exclude_providersarray[]NoA list of providers to exclude from the data source.
storagestringnoneNoThe storage method to use for the data.

Retry Settings

If retry on failure is enabled:

ParameterTypeDefault ValueRequiredDescription
enabledbooleanfalseConditionalActivates the retry mechanism on a failed read.
initial_intervalstring1sConditionalThe first delay before retrying.
max_intervalstring30sConditionalThe maximum delay between retries.
max_elapsed_timestring5mConditionalThe total time to keep retrying.

Remote Connection Settings

ParameterTypeDefault ValueRequiredDescription
serverstringnoneConditionalThe address of the remote server.
usernamestringnoneConditionalThe username for the remote server.
passwordstringnoneConditionalThe password for the remote server.
domainstringnoneConditionalThe domain for the remote connection.

Example Configuration

{
"security": false, // default: false
"system": true,
"application": true,
"custom_channels": [], // default: []
"max_reads": 100, // default: 100
"start_at": "end", // default: "end"
"poll_interval": "1s", // default: "1s"

"raw": false, // default: false
"query": "",

"retry_on_failure": {
"enabled": false, // default: false
},

"remote": {
"server": "",
},
}