Re: How to generate report for "Bytes received, including request and headers"

Aengus <[email protected]>
Newsgroups gmane.comp.web.analog.general
Message-ID <[email protected]>
On 8/25/2008 5:20 AM, Arnab Ganguly wrote:
> Hi All,
> I want to generate report for %I ->
> Bytes received, including request and headerspresent in the Apache access
> log.Which is the corresponding field report in analog need to be kept on for
> this.

Analog doesn't have a "bytes in" report. The File Size report can be 
used to report on either "Bytes In", or "Bytes Out", but it defaults to 
"Bytes Out". If you want it to report on "Bytes In" instead, then you 
just need to craft a LOGFORMAT that specifies %b in the "Bytes In" field.

That explains why your earlier reports weren't giving you what you 
expected - the "File Size" report is based on the %b field, and the %b 
fields in your example lines were 117, 6918, 117, 60 and 124.

I'm not sure that this is explicitly mentioned anywhere in the 
documentation, but it's because for the vast majority of websites, the 
"inbound bandwidth" is irrelevant - it's not even logged in most cases. 
For those sites that care more about inbound than outbound bandwidth, 
it's easy to modify the LOGFORMAT to report on it.

Aengus
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.