Community discussions

MikroTik App
 
mk0000
newbie
Topic Author
Posts: 48
Joined: Thu Jun 25, 2009 8:55 am

WLAN LOG

Wed Jul 08, 2009 9:01 am

Hi,
how can I log what Internet-page the user (from the Access List) has called.

Thanks in advance
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26919
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: WLAN LOG

Wed Jul 08, 2009 9:22 am

like this: http://wiki.mikrotik.com/wiki/Webproxy_logging

if you don't use external syslog, just don't set to "remote" but leave default.
 
mk0000
newbie
Topic Author
Posts: 48
Joined: Thu Jun 25, 2009 8:55 am

Re: WLAN LOG

Thu Jul 09, 2009 10:00 am

Thanks for the quick reply.
Unfortunately these logs to me but usually only the pages from the Web proxy blocked? and not the user invoking?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26919
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: WLAN LOG

Thu Jul 09, 2009 10:02 am

no, ALL visited pages will be in the log
 
mk0000
newbie
Topic Author
Posts: 48
Joined: Thu Jun 25, 2009 8:55 am

Re: WLAN LOG

Thu Jul 09, 2009 10:13 am

hmm,
My structure of Wlan Network:

start point -> intermediate point -> endpoint

At the endpoint, several clients connected via WLAN, and at the starting point is running on a 450er my WebProxy.
The 450er is now also enabled logging just does not seem entries.

What should I therefore have to change?

Edit:
I have found my Bug, now I get the web-proxy debug error messages .... is it possible this to send via email?

And if so, can this only be about 100 messages and then packed to be sent?
Last edited by mk0000 on Thu Jul 09, 2009 10:17 am, edited 1 time in total.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26919
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: WLAN LOG

Thu Jul 09, 2009 10:17 am

please post your logging configuration. are all your users forced to use proxy all of the time?
 
mk0000
newbie
Topic Author
Posts: 48
Joined: Thu Jun 25, 2009 8:55 am

Re: WLAN LOG

Thu Jul 09, 2009 10:18 am

I have found my Bug, now I get the web-proxy debug error messages .... is it possible this to send via email?

And if so, can this only be about 100 messages and then packed to be sent?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26919
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: WLAN LOG

Thu Jul 09, 2009 10:22 am

set "!debug" to not get these messages. rule like this you will need:
2009-07-09_1021.png
You do not have the required permissions to view the files attached to this post.
 
mk0000
newbie
Topic Author
Posts: 48
Joined: Thu Jun 25, 2009 8:55 am

Re: WLAN LOG

Thu Jul 09, 2009 10:27 am

Many thanks for the quick help. How does it look with the email dispatch?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26919
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: WLAN LOG

Thu Jul 09, 2009 10:58 am

You can store the log to file: http://www.mikrotik.com/pdf/newsletter17.pdf and then, I guess you can send it with a script. I don't recommend storing the logs on the system disk, especially if it's a flash disk. Better use the remote syslog.
 
mk0000
newbie
Topic Author
Posts: 48
Joined: Thu Jun 25, 2009 8:55 am

Re: WLAN LOG

Fri Jul 10, 2009 9:42 am

The Logging well functions, only it is possible there only to get the called Websiten and not Javascript files and other single pictures?
 
angboontiong
Forum Guru
Forum Guru
Posts: 1136
Joined: Fri Jan 16, 2009 9:59 am

Re: WLAN LOG

Fri Jul 10, 2009 3:57 pm

Good day...

The wiki one is not suitable for the RouterOS V3.22 and later right?
 
mk0000
newbie
Topic Author
Posts: 48
Joined: Thu Jun 25, 2009 8:55 am

Re: WLAN LOG

Mon Jul 13, 2009 9:51 am

..., I guess you can send it with a script...
Yesterday I have already found after a Script in request, however, nothing... Which Script can always send log.1.txt when log.0.txt a newer time stamp has? I would be to you very thankfully for the Script.

Who is online

Users browsing this forum: No registered users and 78 guests