Community discussions

MikroTik App
 
Monkz
just joined
Topic Author
Posts: 7
Joined: Thu Nov 19, 2009 5:27 pm

Log all activity to file

Tue Mar 06, 2012 2:19 pm

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!
 
vik1988
Member Candidate
Member Candidate
Posts: 235
Joined: Sun Oct 25, 2009 2:18 pm
Location: India

Re: Log all activity to file

Tue Mar 06, 2012 6:49 pm

why don't u add a syslog server and capture all logs of ur hotspot on remote server.
 
Monkz
just joined
Topic Author
Posts: 7
Joined: Thu Nov 19, 2009 5:27 pm

Re: Log all activity to file

Tue Mar 06, 2012 7:06 pm

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!
 
scampbell
Trainer
Trainer
Posts: 487
Joined: Thu Jun 22, 2006 5:20 am
Location: Wellington, NZ
Contact:

Log all activity to file

Wed Mar 07, 2012 11:34 am

Perhaps Calea module. Check NAND storage on RB first.
 
vik1988
Member Candidate
Member Candidate
Posts: 235
Joined: Sun Oct 25, 2009 2:18 pm
Location: India

Re: Log all activity to file

Wed Mar 07, 2012 11:48 am

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...
 
Monkz
just joined
Topic Author
Posts: 7
Joined: Thu Nov 19, 2009 5:27 pm

Re: Log all activity to file

Sun Mar 11, 2012 5:32 pm

Sorry, but i'm novice in mikrotik. Please, can You describe how to do this? :)
Thanks in advance!
 
vik1988
Member Candidate
Member Candidate
Posts: 235
Joined: Sun Oct 25, 2009 2:18 pm
Location: India

Re: Log all activity to file

Mon Mar 12, 2012 6:40 am

go to system logging and add add a topic="whatever logs you want to save" action=disk

/sys logging add topic=hotspot action=disk
 
Monkz
just joined
Topic Author
Posts: 7
Joined: Thu Nov 19, 2009 5:27 pm

Re: Log all activity to file

Mon Mar 12, 2012 2:40 pm

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.
 
vik1988
Member Candidate
Member Candidate
Posts: 235
Joined: Sun Oct 25, 2009 2:18 pm
Location: India

Re: Log all activity to file

Mon Mar 12, 2012 4:47 pm

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

Who is online

Users browsing this forum: No registered users and 37 guests