I have been trying to configure analog to read the stats from my (win2k)
webserver. I downloaded the logfiles to my home machine (also win2k
server), and am having problems with dates and times - but although I looked
through various date problems referred to in the archive and the FAQ, I
could not find an answer to this one.
I am using the extended format, which produces lines with the following
structure:
IPADDRESS, -, 13/02/2001, 17:44:05, W3SVC5, servername, IPADDRESS, 15, 209,
3462, 401, 5, GET, /default.htm, -,
None of the standard formats returned anything except corrupt lines, so I
decided to try the strings. In the endI had to strip the file down to
basics and build it field by field so that I could create the format string
from scratch. This worked, in that it showed me where the problem lay. I
can get reports out, but only if I use %j to ignore the date and time
information.
These lines work:
LOGFORMAT (%S, %u, %j, %j, %j, %j, %v, %T, %j, %b, %c, %j, %j, %r, %q,\n)
or
LOGFORMAT (%S, %u, %j/%j/%j, %j, %j, %j, %v, %T, %j, %b, %c, %j, %j, %r,
%q,\n)
This line fails (reading every line as corrupt):
LOGFORMAT (%S, %u, %d/%m/%y, %h:%n:%j, %j, %j, %v, %T, %j, %b, %c, %j, %j,
%r, %q,\n)
As I really, really want the time and date information, I would be
enormously grateful if someone could point out where I am going wrong.
Many thanks.
Kevin Rattan
P.S. Thanks for subscribing me, Stephen: next time I'll know not to use my
personal email address when subscribing via work software...
+------------------------------------------------------------------------
| 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
+------------------------------------------------------------------------