I wrote: > "Mike Colgan" <[EMAIL PROTECTED]> wrote: > > > I'm looking for a way to measure request bytes in IIS 4.0 logs > > (ie incoming rather than out going). Can you do this in analog? > > From my reading it appears that you can only measure outgoing. > > And if so would someone be kind enough to give me a few pointers. > > Analog only counts the sc-bytes field. You want to count the cs-bytes > field. The simplest way to do this would be to modify the header line that > Analog uses to recognize the format of the log file. > > If the logfiles are very large, and you need to do on all your logs (it's > not just a once off thing), then your best bet might be to modify the > Analog source code.
I'll have to start eating a heartier breakfast on Mondays, as I obviously wasn't thinking straight this morning. There's no need to modify either the logfile or the Analog source code. You just have to create a custom LOGFORMAT that tweaks the order of the fields. Aengus +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/analog-help@lists.isite.net/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------