Skip to main content

Windows DHCP

Overview

Windows DHCP reads events from Windows DHCP Server event channels.

Supported platforms

  • Windows: Logs

Event Channels

ParameterTypeDefault ValueRequiredDescription
operationalbooleantrueNoEnable reading from the Microsoft-Windows-Dhcp-Server/Operational event channel.
filter_notificationsbooleanfalseNoEnable reading from the Microsoft-Windows-Dhcp-Server/FilterNotifications event channel.
dhcp_admin_eventsbooleanfalseNoEnable reading from the DhcpAdminEvents event channel.

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

{
"operational": true, // default: true
"filter_notifications": false, // default: false
"dhcp_admin_events": false, // default: false
"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": "",
},
}