On Thursday, November 11, 2004 6:14 AM [GMT],
Mike Langensiepen <[EMAIL PROTECTED]> wrote:

> Has anyone got a logformat for the H-sphere plugin?
>
> We have tried creating a logformat and all we get is Corrupt Lines: xx
>
> The logfile appears to have 20 fields:
>
> #Fields: date time c-ip cs-username s-sitename s-computername s-ip
> s-port cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status
> sc-bytes cs-bytes time-taken cs-version cs(User-Agent) cs(Cookie)
> cs(Referer)
>
> This is what we think the logformat should be:
> LOGFORMAT (%Y-%m-%d %h:%:%j %s %u %j %j %s %j %j %r %j %j %j %b %b %t
> %j %B %u %j)

It isn't normally necessary to write a LOGFORMAT, because Analog should
be able to read that #Fields: line. If it's not recognizing it, you
should post all of the # lines, so that it can be fixed in the next
version.

You have two %s field in your LOGFORMAT, two %b fields, 2 %u fields and
no %c field. This LOGFORMAT might work better:

LOGFORMAT (%Y-%m-%d %h:%:%j %s %u %j %j %j %j %r %q %c %j %b %j %t %j %B
%j %f)

Aengus

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to