Community discussions

MikroTik App
 
carnevale
just joined
Topic Author
Posts: 13
Joined: Wed Nov 16, 2016 8:59 pm

Generate Report from HOTSPOT Logfile

Sat May 25, 2019 8:19 pm

Hi,

I'm using Hotspot with users created locally in hotspot (not usermanager nor radius), and I'm generating a local logfile like sample below. Do you know any tool able to parse this logfile and generate statistics ?

May/24/2019 19:08:38 hotspot,debug hotspot: hotspot-name: dynamic host 10.0.0.189 removed: lost dhcp lease
May/24/2019 19:08:39 hotspot,debug hotspot: hotspot-name: new host detected 38:80:DF:7D:74:8D/10.0.0.189 by TCP :40829 -> 10.0.0.1:853
May/24/2019 19:08:39 hotspot,debug hotspot: hotspot-name: dhcp host 38:80:DF:7D:74:8D/10.0.0.189 added, ip 10.0.0.189
May/24/2019 19:12:13 hotspot,debug hotspot: hotspot-name: new host detected 50:92:B9:1B:CD:C8/10.0.0.198 by ICMP echo to 10.0.0.1
May/24/2019 19:12:13 hotspot,debug hotspot: hotspot-name: dhcp host 50:92:B9:1B:CD:C8/10.0.0.198 added, ip 10.0.0.198
May/24/2019 19:13:13 hotspot,debug hotspot: hotspot-name: dhcp host 10.0.0.197 changed type to dynamic (remove after 5s)
May/24/2019 19:13:16 hotspot,debug hotspot: hotspot-name: new host detected 88:19:08:06:D1:E2/10.0.0.209 by ICMP echo to 10.0.0.1
May/24/2019 19:13:16 hotspot,debug hotspot: hotspot-name: dhcp host 88:19:08:06:D1:E2/10.0.0.209 added, ip 10.0.0.209
May/24/2019 19:13:18 hotspot,debug hotspot: hotspot-name: dynamic host 10.0.0.197 removed: lost dhcp lease
May/24/2019 19:13:22 hotspot,debug hotspot: antenna2 (9C:E6:5E:0C:5F:EF): replace mac cookie: user logged out
May/24/2019 19:13:22 hotspot,info,debug hotspot: antenna2 (10.0.1.212): logged out: keepalive timeout
May/24/2019 19:13:22 hotspot,account hotspot: antenna2 (10.0.1.212): 533 1191101 43325187 13420 31378 (keepalive timeout)
May/24/2019 19:13:22 hotspot,debug hotspot: antenna2 (10.0.1.212): removing ip->user binding
May/24/2019 19:13:22 hotspot,debug hotspot: hostspot-guest: dhcp host 10.0.1.212 removed: keepalive timeout
May/24/2019 19:14:37 hotspot,debug hotspot: hotspot-name: new host detected D0:04:01:4E:1B:2D/10.0.0.203 by TCP :39086 -> 172.217.28.3:80
May/24/2019 19:14:37 hotspot,debug hotspot: hotspot-name: dhcp host D0:04:01:4E:1B:2D/10.0.0.203 added, ip 10.0.0.203
May/24/2019 19:15:04 hotspot,debug hotspot: hostspot-visitantes: new host detected 9C:E6:5E:0C:5F:EE/10.0.1.212 by TCP :49596 -> 104.71.5.19:80
May/24/2019 19:15:04 hotspot,info,debug hotspot: antenna2 (10.0.1.212): trying to log in by mac-cookie
May/24/2019 19:15:04 hotspot,debug hotspot: antenna2 (10.0.1.212): using profile <antenna1>
May/24/2019 19:15:04 hotspot,debug hotspot: antenna2 (10.0.1.212): adding ip->user binding


Thanks,
Gui

Who is online

Users browsing this forum: hazem, sinateifouri and 183 guests