Re: [squid-users] access log request size x google drive
Hi, > Is that out to the client? > or out to the server? > or both (when "out" means servicing clients over the same NIC)? >> Both, only one NIC. > Then you are not able to distinguish outbound to client and outboud to > server. That's right. > You would be better off using %st for logging the sizes. That > accumulates the total for each transaction and more correctly matches > the NIC RX+TX total throughput. > Nice idea. But doesn't solve my problem of not having the upload (from squid to internet) to google on the access logs. :-( I'll check if measuring from "squidclient mgr:usage", which separates server from client, provides values consistent with my google drive tests. []s, Fernando Lozano
Re: [squid-users] access log request size x google drive
On 12/07/2014 4:03 a.m., Fernando Lozano wrote: > Hi Amos, > >>> I configured my squid.conf to generate a second access log but using the >>> client request size (%>st) in place of the response size (%>> >>> My goal was to use sarg to generate a report for upload sizes alongside >>> the standard report wich contains only download sizes. >>> >>> 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)? > > Both, only one NIC. Then you are not able to distinguish outbound to client and outboud to server. You would be better off using %st for logging the sizes. That accumulates the total for each transaction and more correctly matches the NIC RX+TX total throughput. Amos
Re: [squid-users] access log request size x google drive
Hi Amos, >> I configured my squid.conf to generate a second access log but using the >> client request size (%>st) in place of the response size (%> >> My goal was to use sarg to generate a report for upload sizes alongside >> the standard report wich contains only download sizes. >> >> 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)? Both, only one 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? All of them. No ACLs for logging. > IIRC there is an issue with CONNECT traffic only logging one direction. So I may be experiencing this. All google properties use https all the time, so all requests for Google Drive are CONNECT ones. Can you point to a bug ticket or something I can to do confirm this is the problem? I', running squid 3.4.3 (from Eliezer rpm). Is this issue also on 3.4.6 (which is the latest rpm released by Eliezer)? []s, Fernando Lozano
Re: [squid-users] access log request size x google drive
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 (% > logformat upload %ts.%03tu %6tr %>a %Ss/%03>Hs %>st %rm %ru %[un %Sh/% %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
[squid-users] access log request size x google drive
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 (% logformat upload %ts.%03tu %6tr %>a %Ss/%03>Hs %>st %rm %ru %[un %Sh/% 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. 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? []s, Fernando Lozano