[squid-users] How to retreve upload and download separately from access.log

2004-09-02 Thread Rakesh Kumar Pant
I am using Squid 2.5 (STABLE 1) on Red Hat Linux-9 I want to view separate Upload(i.e length of Data sent out of the network) and Download(i.e length of Data received ) Details for each host. Is it possible to fetch such information from access.log ? if yes then how can i do it. ? if not the wha

Re: [squid-users] How to retreve upload and download separately from access.log

2004-09-02 Thread Henrik Nordstrom
On Thu, 2 Sep 2004, Rakesh Kumar Pant wrote: I want to view separate Upload(i.e length of Data sent out of the network) and Download(i.e length of Data received ) Details for each host. Is it possible to fetch such information from access.log ? Only is using a custom log format (patch required to 2

Re: [squid-users] How to retreve upload and download separately from access.log

2004-09-02 Thread Rakesh Kumar Pant
EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, September 02, 2004 6:08 PM Subject: Re: [squid-users] How to retreve upload and download separately from access.log > On Thu, 2 Sep 2004, Rakesh Kumar Pant wrote: > > > I want to view separate Upload(i.e length of

Re: [squid-users] How to retreve upload and download separately from access.log

2004-09-02 Thread Rakesh Kumar Pant
: Thursday, September 02, 2004 6:08 PM Subject: Re: [squid-users] How to retreve upload and download separately from access.log > On Thu, 2 Sep 2004, Rakesh Kumar Pant wrote: > > > I want to view separate Upload(i.e length of Data sent out of the network) > > and Download(i.e le

Re: [squid-users] How to retreve upload and download separately from access.log

2004-09-02 Thread Henrik Nordstrom
On Thu, 2 Sep 2004, Rakesh Kumar Pant wrote: I am pretty new to all this. Can you guide me to the patch that is required and how do I go about creating a custom log format. http://devel.squid-cache.org/ Regards Henrik

Re: [squid-users] How to retreve upload and download separately from access.log

2004-09-02 Thread Henrik Nordstrom
On Thu, 2 Sep 2004, Rakesh Kumar Pant wrote: I have just upgraded to Squid 2.5 (STABLE 6) production release. Do I still need a patch ? Yes. It is a new feature, not a bug fix. Squid-2.5 is in it's STABLE cycle where no new features is allowed unless to correct a security threat. Regards Henrik

Re: [squid-users] How to retreve upload and download separately from access.log

2004-09-02 Thread Rakesh Kumar Pant
]> Sent: Thursday, September 02, 2004 7:00 PM Subject: Re: [squid-users] How to retreve upload and download separately from access.log > On Thu, 2 Sep 2004, Rakesh Kumar Pant wrote: > > > I have just upgraded to Squid 2.5 (STABLE 6) production release. Do I still > > need a

Re: [squid-users] How to retreve upload and download separately from access.log

2004-09-02 Thread Rakesh Kumar Pant
enrik Nordstrom" <[EMAIL PROTECTED]> To: "Rakesh Kumar Pant" <[EMAIL PROTECTED]> Cc: "Squid Users" <[EMAIL PROTECTED]> Sent: Thursday, September 02, 2004 7:00 PM Subject: Re: [squid-users] How to retreve upload and download separately from access.log > O

Re: [squid-users] How to retreve upload and download separately from access.log

2004-09-02 Thread Henrik Nordstrom
On Thu, 2 Sep 2004, Rakesh Kumar Pant wrote: Thanks Henrik it seems to be a good option I have successfully applied the patch to (STABLE 6) But the access.log that is being created is still the same You need to specify your own log formats. See squid.conf.default. Regards Henrik

Re: [squid-users] How to retreve upload and download separately from access.log

2004-09-03 Thread rakesh
Thanks once again Henrik I have applied the patch with (patch -p1 < ./filename) No error occurred when patch was applied. After then I compiled squid, following the specifications It was successfully compiled and installed. I created a new logformat by just appending %>sb to the old string.

Re: [squid-users] How to retreve upload and download separately from access.log

2004-09-03 Thread Henrik Nordstrom
On Fri, 3 Sep 2004 [EMAIL PROTECTED] wrote: Thanks once again Henrik I have applied the patch with (patch -p1 < ./filename) No error occurred when patch was applied. After then I compiled squid, following the specifications It was successfully compiled and installed. I created a new logformat by j

Re: [squid-users] How to retreve upload and download separately from access.log

2004-09-03 Thread rakesh
Once again thanks Henrik As i think that '%>st' has also not been implemented yet.. Which may have been the option i was looking for. I have tried the option {content-length} as suggested by you but that doesn't solve my problem as I'm not looking for content-length of the Request/Respo

Re: [squid-users] How to retreve upload and download separately from access.log

2004-09-03 Thread Henrik Nordstrom
On Fri, 3 Sep 2004 [EMAIL PROTECTED] wrote: I have tried the option {content-length} as suggested by you but that doesn't solve my problem as I'm not looking for content-length of the Request/Response. What i needed was the total bytes sent out as well as total bytes received by a particular IP