On Sun, 10 Aug 2003, W. Jeffrey Rankin wrote: > Hello - > > I'm having a difficult time writing what I thought would be a simple > LOGFORMAT. Here's a sample line from my server log: > > 192.168.0.2 - - [10/Aug/2003:10:08:45 EDT] "GET /status/doc HTTP/1.1" > 200 - "http://jrankin.ath.cx/status" "Mozilla/5.0 (X11; U; SunOS sun4u; > en-US; rv:1.4) Gecko/20030701" - > > Here's the LOGFORMAT I've been trying to use: > LOGFORMAT (%s - - [%d/%M/%Y:%h:%n:%j] "%j%w%r%w%j" %c - "%f" "%B" -) > > When I run Analog on a log file containing only the entry shown above, > the report contains only 1 unwanted log file entry. I would expect that > I'd have one successful request for the URL. Any insights would be > appreciated. Thanks in advance. >
"Unwanted" means that you've explicitly requested that the line not be counted, with an INCLUDE/EXCLUDE command, or FROM/TO. -- Stephen Turner, Cambridge, UK http://homepage.ntlworld.com/adelie/stephen/ "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim." (Edsger W. Dijkstra) +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------
