Script should do?
Can you post an example line of what you see int the log that you need?
Here is an example of DHCP request with debug enabled:
dhcp,debug,packet MikroTik: DHCP-vlan20-Guest received request with id 3566786364 from 0.0.0.0
dhcp,debug,packet MikroTik: secs = 3
dhcp,debug,packet MikroTik: ciaddr = 0.0.0.0
dhcp,debug,packet MikroTik: chaddr = 6C:8D:C1:03:xxxx
dhcp,debug,packet MikroTik: Msg-Type = request
dhcp,debug,packet MikroTik: Parameter-List = Subnet-Mask,Classless-Route,Router,Domain-Server,Domain-Name,Domain-Search,Auto-Proxy-Config
dhcp,debug,packet MikroTik: Max-DHCP-Message-Size = 1500
dhcp,debug,packet MikroTik: Client-Id = 01-6C-8D-C1-03-xxxx
dhcp,debug,packet MikroTik: Address-Request = 10.10.20.184
dhcp,debug,packet MikroTik: Server-Id = 10.10.20.1
dhcp,debug,packet MikroTik: Host-Name = "iPhone"
dhcp,info MikroTik: DHCP-vlan20-Guest assigned 10.10.20.184 to 6C:8D:C1:03:xxxx
dhcp,debug,packet MikroTik: DHCP-vlan20-Guest sending ack with id 3566786364 to 10.10.20.184
dhcp,debug,packet MikroTik: ciaddr = 0.0.0.0
dhcp,debug,packet MikroTik: yiaddr = 10.10.20.184
dhcp,debug,packet MikroTik: siaddr = 10.10.20.1
dhcp,debug,packet MikroTik: chaddr = 6C:8D:C1:03:xxxx
dhcp,debug,packet MikroTik: Msg-Type = ack
dhcp,debug,packet MikroTik: Server-Id = 10.10.20.1
dhcp,debug,packet MikroTik: Address-Time = 86400
dhcp,debug,packet MikroTik: Subnet-Mask = 255.255.255.0
dhcp,debug,packet MikroTik: Router = 10.10.20.1
dhcp,debug,packet MikroTik: Domain-Server = 10.10.10.1