Community discussions

MikroTik App
 
ssffzzxx
just joined
Topic Author
Posts: 17
Joined: Thu Feb 12, 2009 6:04 am

How to create a log that show web hits on mikrotik proxy

Thu May 14, 2009 6:01 am

Dear All,
I have Mikrotik RB450 with ROuterOS 3.22 installed.
I also configure proxy on my mikrotik.

Could anyone help me to make my mikrotik have a log that can show me what web page accessed by my user? It is like web hits.

your help will be so appreciated.
Best Regards
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7198
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: How to create a log that show web hits on mikrotik proxy

Thu May 14, 2009 9:18 am

 
ssffzzxx
just joined
Topic Author
Posts: 17
Joined: Thu Feb 12, 2009 6:04 am

Re: How to create a log that show web hits on mikrotik proxy

Thu May 14, 2009 11:38 am

Dear Mrz,
Thanks for your help. But are there other option that i can use for this. if i take Proxylizer as a solution, in my opinion it is to complicated as i have to prepare one more machine, and install all required application. I just want to see what web site that is accessed by my user.

Anyway thanks a lot. I will think about it.
Rgds
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7198
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: How to create a log that show web hits on mikrotik proxy

Thu May 14, 2009 11:57 am

you can simply set webproxy logging
/system logging add topics=web-proxy
 
ssffzzxx
just joined
Topic Author
Posts: 17
Joined: Thu Feb 12, 2009 6:04 am

Re: How to create a log that show web hits on mikrotik proxy

Fri May 15, 2009 6:17 am

Dear Mrz,
Thanks again for your help.
I can set the web proxy log now, it seem mikrotik only generate the ip address in the log.
one more question, how to print web proxy log only? as i found that when i use log print command i get all log from mikrotik.

Best Regards
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7198
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: How to create a log that show web hits on mikrotik proxy

Fri May 15, 2009 8:36 am

/system logging action add name=proxy
/system logging add action=proxy topic=web-proxy

Now you can print only proxy buffer.

/log print where buffer="proxy"
 
ssffzzxx
just joined
Topic Author
Posts: 17
Joined: Thu Feb 12, 2009 6:04 am

Re: How to create a log that show web hits on mikrotik proxy

Fri May 15, 2009 12:05 pm

Hi Mrz,
Thanks for your prompt reply.
It works perfectly.. :)

Best Regards