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 (polling mode only).
querystringnoneNoA custom query to filter or retrieve data.

Collection Method (Streaming vs Polling)​

By default the receiver polls each channel every poll_interval. Enabling event_driven_scraping switches to streaming: the receiver wakes on Windows API signals as events arrive, lowering latency and avoiding idle wakeups. Streaming is Windows-only.

ParameterTypeDefault ValueRequiredDescription
event_driven_scrapingbooleanfalseNoWhen true, stream events via Windows API signals instead of polling on a fixed interval.
wait_timeoutstring5sNoMax time to wait for new events before a safety-net poll while streaming. Ignored when streaming is off.

SID Resolution​

When enabled, Windows Security Identifiers (e.g. S-1-5-18) are resolved to human-readable account/domain names. Windows-only. Resolved values are cached (LRU) to limit repeated lookups.

ParameterTypeDefault ValueRequiredDescription
resolve_sids.enabledbooleanfalseNoActivates SID-to-name resolution.
resolve_sids.cache_sizeinteger10000NoMaximum number of SID-to-name mappings to cache (LRU eviction).
resolve_sids.cache_ttlstring15mNoHow long cached mappings remain valid. Must not be negative.

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.
include_log_record_originalbooleanfalseNoWhen enabled, adds the log.record.original attribute holding the original event XML (rendered according to suppress_rendering_info).
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" (polling mode only)

"event_driven_scraping": false, // default: false (set true for streaming)
"wait_timeout": "5s", // default: "5s" (used only when streaming)

"resolve_sids": {
"enabled": false, // default: false
"cache_size": 10000, // default: 10000
"cache_ttl": "15m", // default: "15m"
},

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

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

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