Community discussions

MikroTik App
 
completenewbee
just joined
Topic Author
Posts: 3
Joined: Sun Jun 22, 2014 4:47 pm

Web-Proxy - Logging Content-Type

Sun Jun 22, 2014 5:54 pm

Hi, I recently purchased a 2011UiAS-2HnD and trying to get more information on offloading services that previously was handled via a linux box. Previously I was running squid and monitoring the access.log. In the event that certain websites or patterns in a url was accessed, and email would be sent. I did this by monitoring squids access.log for "content-type text/html" and then checking the url. I have web-proxy set up and it's working great but I can't see how to modify the logging. I am able to get the "web-proxy,account" which includes just the URL or even the "web-proxy,debug" messages to syslog and monitor based on that but I do not have an easy way as before to only check the URLs from "Content-Type: text/html". Unless I am overlooking something, even the debug messages are sent on multiple lines which I can working around if I have to as a last resort but it would be painful. Is it possible to get the events on one line or is their any way to modify this section?