zeek_query_dhcp
Query Zeek DHCP logs to find lease assignments, discover devices, and map hostnames to IPs for asset inventory and rogue device identification.
Instructions
Search Zeek DHCP logs for lease assignments, device discovery, and hostname-to-IP mapping. Useful for asset inventory and identifying rogue devices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | No | Client MAC address (partial match) | |
| limit | No | Max results | |
| timeTo | No | End time (ISO 8601) | |
| msgType | No | DHCP message type (DISCOVER, OFFER, REQUEST, ACK, NAK, RELEASE, INFORM) | |
| hostname | No | Client hostname (partial match) | |
| timeFrom | No | Start time (ISO 8601) | |
| clientAddr | No | Client IP address | |
| assignedAddr | No | Assigned IP address |