On 4/2/99 12:30 PM Marijka Hambrecht ([EMAIL PROTECTED]) wrote:

>Analog does not auto detect my log file format and none of the preset
>formats work either, this leaves me with configuring the log format myself.
> The log format is in Microsoft IIS 3.0  I have no idea how to write a
><LOGFORMAT> of my own.  Does anyone have the correct <LOGFORMAT> for a IIS
>3.0 server?
>
>An example of what a log file line coming from my server looks like is:
>
>204.123.9.23, -, 4/1/99, 22:11:45, W3SVC, NEPTUNE, 209.211.61.227, 62, 278,
>198, 200, 0, HEAD, /tod2.html, Scooter/2.0 G.R.A.B. V1.1.0, -, -, 

I can't be sure exactly which of the variations on Microsoft IIS format 
you have, and so I'm not sure what the last two fields really are, but 
this will cover the most likely case and will read the log and get most 
of the fields right in any case:
LOGFORMAT (%S, %u, %m/%d/%y, %h:%n:%j, W3SVC%j, %j, %v, %j, %j, %b, %c, 
%j, %j, %r, %B, %f, %q,)
LOGFORMAT (%*S, %*u, %m/%d/%y, %h:%n:%j, %j)

Note: that each LOGFORMAT command should all be on one line, the mail 
system is likely to split it into two lines.

Good Luck
Jason

-----------------
[EMAIL PROTECTED]
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
  -- Peter van der Linden, Expert C Programming, Deep C Secrets


--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------

Reply via email to