I am running IIS 4 and creating logfiles for my website. I want to be able
to use Analog to do a little analysis on these files. IIS is writing the
logfiles in W3C extended format.
Based on what I read in the Analog documentation, I think I need a LOGFORMAT
record to get it to recognize the Microsoft version of W3C. I tried
LOGFORMAT MS-EXTENDED and I get the following when I run analog:
analog: analog version 4.90beta1/win32
analog Warning C: Ignoring corrupt format line in logfile
analog ...cont..: <reason: time without date or vice versa>
<For help on all errors and warnings, see docs/errors.html>
analog: Waring L: Large number of currupt lines in logfile ex010129.log: try
different LOGFORMAT
Current logfile format:
#Fields:\n
#%j\n
analog: Warning R: Turning off empty time reports ...
My logfile looks like this:
#Software: Microsoft Internet Information Server 4.0
#Version: 1.0
#Date: 2001-01-29 15:46:54
#Fields: time c-ip cs-method cs-uri-stem sc-status
15:46:54 216.78.145.215 GET /Default.asp 302
15:46:54 216.78.145.215 GET /login.asp 200
15:46:54 216.78.145.215 GET /technettn.css 200
15:46:54 216.78.145.215 GET /i/bgc.gif 200
15:47:04 216.78.145.215 POST /default.asp 200 ...
Even though I'm specifying the MS-EXTENDED logformat, do I need to put in
something else to identify the file format? I edited the analog.cfg file
what was part of the download and changed the file name and added the
LOGFORMAT record. It now looks like this (after the comments):
LOGFORMAT MS-EXTENDED
LOGFILE ex010129.log # to set where your logfile lives
# LOGFILE logfile.log
# OUTFILE outfile.html
HOSTNAME "[TechNet of Tennessee, Inc.]"
# REQINCLUDE pages
REQLINKINCLUDE pages ... and so on.
Any help would be greatly appreciated. - Carter
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------