Skip to main content

Module dhcp

Module dhcp 

Source
Expand description

Windows DHCP Server log parser.

Parses CSV-format DHCP server logs (DhcpSrvLog-.log and DhcpV6SrvLog-.log).

Format (after header block): ID,Date,Time,Description,IP Address,Host Name,MAC Address,User Name, TransactionID,QResult,Probationtime,CorrelationID,Dhcid, VendorClass(Hex),VendorClass(ASCII),UserClass(Hex),UserClass(ASCII), RelayAgentInformation,DnsRegError

Functionsยง

matches_dhcp_record
Check if a line looks like a DHCP data row (starts with a number followed by comma and date).
parse_lines
Parse all lines of a DHCP log file. Skips the header block (non-CSV preamble lines).