397 B
397 B
Extract details from DHCP logs
This script extracts the ip address, mac address, and host names from the DHCP server logs on a linux system.
Since this was not tested on multiple systems, results can not be guaranteed with your log files, unless they are the the format as the example.log
in this directory.
The regex may need adjustments.
Tested on: Ubuntu 20.04.4
, isc-dhcpd-4.4.1