Page 1 of 1
WLAN LOG
Posted: Wed Jul 08, 2009 9:01 am
by mk0000
Hi,
how can I log what Internet-page the user (from the Access List) has called.
Thanks in advance
Re: WLAN LOG
Posted: Wed Jul 08, 2009 9:22 am
by normis
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.
Re: WLAN LOG
Posted: Thu Jul 09, 2009 10:00 am
by mk0000
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?
Re: WLAN LOG
Posted: Thu Jul 09, 2009 10:02 am
by normis
no, ALL visited pages will be in the log
Re: WLAN LOG
Posted: Thu Jul 09, 2009 10:13 am
by mk0000
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?
Re: WLAN LOG
Posted: Thu Jul 09, 2009 10:17 am
by normis
please post your logging configuration. are all your users forced to use proxy all of the time?
Re: WLAN LOG
Posted: Thu Jul 09, 2009 10:18 am
by mk0000
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?
Re: WLAN LOG
Posted: Thu Jul 09, 2009 10:22 am
by normis
set "!debug" to not get these messages. rule like this you will need:
2009-07-09_1021.png
Re: WLAN LOG
Posted: Thu Jul 09, 2009 10:27 am
by mk0000
Many thanks for the quick help. How does it look with the email dispatch?
Re: WLAN LOG
Posted: Thu Jul 09, 2009 10:58 am
by normis
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.
Re: WLAN LOG
Posted: Fri Jul 10, 2009 9:42 am
by mk0000
The Logging well functions, only it is possible there only to get the called Websiten and not Javascript files and other single pictures?
Re: WLAN LOG
Posted: Fri Jul 10, 2009 3:57 pm
by angboontiong
Good day...
The wiki one is not suitable for the RouterOS V3.22 and later right?
Re: WLAN LOG
Posted: Mon Jul 13, 2009 9:51 am
by mk0000
..., 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.