hostname_pattern = re.compile("(?!-)[A-Z0-9-_]*(?<!-)$", re.IGNORECASE)
Date,Severity,Process,Line2023-07-14T10:09:35 Warning unbound dhcpd leases: Honor_6X not a valid hostname, ignoring 2023-07-14T10:09:20 Warning unbound dhcpd leases: Honor_6X not a valid hostname, ignoring 2023-07-14T10:09:18 Warning unbound dhcpd leases: Honor_6X not a valid hostname, ignoring 2023-07-14T10:08:38 Warning unbound dhcpd leases: Honor_6X not a valid hostname, ignoring 2023-07-14T10:08:26 Warning unbound dhcpd leases: Honor_6X not a valid hostname, ignoring 2023-07-14T10:06:52 Warning unbound dhcpd leases: Honor_6X not a valid hostname, ignoring 2023-07-14T10:05:55 Warning unbound dhcpd leases: Honor_6X not a valid hostname, ignoring 2023-07-14T10:05:53 Warning unbound dhcpd leases: Honor_6X not a valid hostname, ignoring 2023-07-07T09:57:10 Notice unbound dhcpd expired Honor_6X @ 192.168.5.179 2023-06-21T11:04:34 Notice unbound dhcpd expired Honor_6X @ 192.168.5.179 2023-06-19T19:56:49 Notice unbound dhcpd expired Honor_6X @ 192.168.5.179 2023-06-16T08:19:50 Notice unbound dhcpd expired Honor_6X @ 192.168.5.179 2023-06-14T08:09:56 Notice unbound dhcpd expired Honor_6X @ 192.168.5.179