W Luke ([EMAIL PROTECTED]):

>> > 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

> ....not this one.  If I use the following LOGFORMAT, it processes this log
> file format, but doesn't autodetect the one above (NCSA):

> LOGFORMAT (%m/%d/%Y
> %h:%n:%j\t%s\t%v\t%j\t%u\t%j\t%r\t%f\t%j\t%B\t%c\t%b\t%T)

> How can I tell it to try the LOGFORMAT as pasted above, but also to
> auto-detect the others that don't match it?

Add LOGFORMAT COMBINED to your configuration file.



>> 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).

> Damn, that's a problem.  I could fix it now easily, by making all URLs
> properly URL formatted with %20 where spaces should be.  But for the rest of
> the log files it'll have to ignore them

It wasn't obvious in your original post (it is now with the LOGFORMAT
you gave) that the fields were tab-separated. Analog should process it
just fine.

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------

Reply via email to