Ruediger Kluge <[EMAIL PROTECTED]> wrote: > > I compared the information in the original logfile and my logfile to > define an Apachelogformat. Unfortunately my knowledge is not > sufficient to succeed. Perhaps someone can help me to define the > format.
APACHELOGFORMAT is only relevant if you have access to the .conf file for an Apache web server - instead of "translating" the logformat in that .conf file, Analog can use it directly once you tell it that is using Apache syntax rather than Analog syntax. If you are writing the LOGFORMAT from scratch, then you don't want to use the APACHELOGFORMAT directive. > *One line of my logfile:* > > 80.132.229.184 - - [17/Jun/2004:00:02:16 +0200] "GET /CEK-Module.htm > HTTP/1.1" 304 - www.conelek.com > "http://www.google.de/search?q=Breadboard&hl=de&lr=&ie=UTF-8&start=20&sa =N" > "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" "-" Is there supposed to be a space between the referrer and the Browser? If you don't have a space, that would explain why Analog can recognize the format. LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b %v "%f""%B" "%j") looks like it will do the job (no space between %f and %B). Aengus +------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------