Page 1 of 1

Log all activity to file

Posted: Tue Mar 06, 2012 2:19 pm
by Monkz
Hello!
I have mikrotik 4.17 with hotspot server+radius. Maybe someone can help me, and answer how make a log file to log all user activity (maybe firewall-loging)? With it i wanna log an additional data as MAC, source- and destination- IP, protocol and port.

Thanks in advance!

Re: Log all activity to file

Posted: Tue Mar 06, 2012 6:49 pm
by vik1988
why don't u add a syslog server and capture all logs of ur hotspot on remote server.

Re: Log all activity to file

Posted: Tue Mar 06, 2012 7:06 pm
by Monkz
Thanks a lot for Your idea, but i don't need one more server, i have mikrotik with large hdd, so i wanna use it... Please, help with my problem!

Log all activity to file

Posted: Wed Mar 07, 2012 11:34 am
by scampbell
Perhaps Calea module. Check NAND storage on RB first.

Re: Log all activity to file

Posted: Wed Mar 07, 2012 11:48 am
by vik1988
Thanks a lot for Your idea, but i don't need one more server, i have mikrotik with large hdd, so i wanna use it... Please, help with my problem!
Then go to logging and capture all ur logs in Disk...

Re: Log all activity to file

Posted: Sun Mar 11, 2012 5:32 pm
by Monkz
Sorry, but i'm novice in mikrotik. Please, can You describe how to do this? :)
Thanks in advance!

Re: Log all activity to file

Posted: Mon Mar 12, 2012 6:40 am
by vik1988
go to system logging and add add a topic="whatever logs you want to save" action=disk

/sys logging add topic=hotspot action=disk

Re: Log all activity to file

Posted: Mon Mar 12, 2012 2:40 pm
by Monkz
go to system logging and add add a topic="whatever logs you want to save" action=disk

/sys logging add topic=hotspot action=disk
Yes, i have this configuration, but it's log only hotspot and radius messages, not all traffic like we can see in IP -> Firewall -> Connections. I need log hotspot users ip (maybe MAC), time and destanation ip and port.

Re: Log all activity to file

Posted: Mon Mar 12, 2012 4:47 pm
by vik1988
go to system logging and add add a topic="whatever logs you want to save" action=disk

/sys logging add topic=hotspot action=disk
Yes, i have this configuration, but it's log only hotspot and radius messages, not all traffic like we can see in IP -> Firewall -> Connections. I need log hotspot users ip (maybe MAC), time and destanation ip and port.
Try This
 /ip accounting set enabled=yes account-local-traffic=yes
/ip accounting web-access set accessible-via-web=yes