Re: [squid-users] access log request size x google drive

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 11 Jul 2014 17:08:24 +1200

On 11/07/2014 7:18 a.m., fernando wrote:
> Hi there,
>
> I configured my squid.conf to generate a second access log but using the
> client request size (%>st) in place of the response size (%<st):
>
> logformat upload %ts.%03tu %6tr %>a %Ss/%03>Hs %>st %rm %ru %[un %Sh/%<a
> %mt
> access_log stdio:/var/log/squid/upload.log logformat=upload
> access_log stdio:/var/log/squid/access.log
>
>
> My goal was to use sarg to generate a report for upload sizes alongside
> the standard report wich contains only download sizes.
>
> The reports looks ok for regular web browsing (download sizes much
> larger than upload sizes) but after I uploaded some big files to google
> drive the reports still doesn't show a significant increase in upload
> sizes.
>
> I also run darkstat on the server and it shows the expected increase for
> "Out" traffic.

Is that out to the client?
 or out to the server?
 or both (when "out" means servicing clients over the same NIC)?

>
> So, why aren't my upload.log showing uploads to google drive? Is this
> supposed to work at all, or do I need some trick for squid?

What type of requests are being logged?
 IIRC there is an issue with CONNECT traffic only logging one direction.

Amos
Received on Fri Jul 11 2014 - 05:08:34 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 11 2014 - 12:00:04 MDT