"W Luke" <[EMAIL PROTECTED]> wrote: > > I've been having some trouble getting Analog 5 working with the log files > WebSite Pro generate. I did have it working a few months ago, but my > hosting company altered the format of the log files slightly and since then > I've not been able to get Analog to read them. > > So now I need to read 2 different types of log files, and having lost the > original Config file, I'm a bit lost. There are roughly 1GB of logs that > need processing. Here's an example of the newer type of formatting in the > logs: > > 64.12.96.105 www.localads.net - [02/Oct/2001:23:04:45 +0000] "GET > /local_link.gif HTTP/1.0" 404 377 "http://www.barkeronline.freeserve.co.uk/" > "Mozilla/4.0 (compatible; MSIE 5.5; AOL 6.0; Windows 98; Win 9x 4.90; Hotbar > 2.0)"
Analog will automatically detect that this is in NCSA combined format > And here's what the old logs look like: > > 04/30/2001 23:33:38 24.27.47.106 www.localbounty.com GET > /imagebin/logo_type.gif > http://www.localbounty.com/view/categories.cfm?subcat=Administrative and > Clerical&cat=Jobs Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) > 200 2389 60 I doubt that you can write a LOGFORMAT that will allow Analog to reliably handle that line, because you have no reliable delimiters between fields. For instance, the "and" after "Administrative" is supposed to be part of your query, but there's no way that Analog can tell that it's not just the next field (which would be the browser). 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 +------------------------------------------------------------------------
