"Jonathan Trott" <[EMAIL PROTECTED]> wrote: > I have a MS Proxy log with the following format: > 10.5.0.121, DOMAIN\USER, -, Y, 4/8/01, 7:38:09, 1, -, -, www.yahoo.com, -, > 80, 4096, 20252, 812, http, -, -, http://www.yahoo.com/, -, VFInet, 200, 0 > I set the LOGFORMAT command as follows: > > LOGFORMAT (%j, %u, %j, %j, %m/%d/%y, %h:%n:%j, %j, %j, %j, %v, %j, %j, %j, > %j, %j, %j, %j, %j, %q, %j, %j, %c, %j) > > I get the error as follows: > > analog: analog version 5.03/Win32 > analog: Warning C: Bad argument in configuration command: ignoring it: > LOGFORMAT "%j, %u, %j, %j, %m/%d/%y, %h:%n:%j, %j, %j, %j, %v, %j, %j, > %j, > %j, %j, %j, %j, %j, %q, %j, %j, %c, %j" > analog: ...cont..: (reason: query string without filename)
That's fairly explicit - you're using %q without an associated %r. %q is the querystring part of a request - eg http://server/page.ext?querystring=yes. It'll probably work if you use %r instead of %v (www.yahoo.com isn't a virtual host either, so %r makes as much sense as %v). > (For help on all errors and warnings, see docs/errors.html) > > If I remove the last few %j and %q from the LOGFORMAT command as follows: > > LOGFORMAT (%j, %u, %j, %j, %m/%d/%y, %h:%n:%j, %j, %j, %j, %v, %j) > > I get the output as follows: > > analog: analog version 5.03/Win32 > analog: Warning R: Turning off empty time reports > (For help on all errors and warnings, see docs/errors.html) > analog: Warning R: Turning off empty Request Report > analog: Warning R: Turning off empty File Type Report > analog: Warning R: Turning off empty Directory Report > analog: Warning R: Turning off empty Domain Report > analog: Warning R: Turning off empty Organisation Report > analog: Warning R: Turning off empty Search Word Report > analog: Warning R: Turning off empty Operating System Report > analog: Warning R: Turning off empty File Size Report > analog: Warning R: Turning off empty Status Code Report > > Where have my times and dates gone? You don't have any requests (%r) , so there isn't anything to graph time against. 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/[email protected]/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------
