Yes, I'm sure that there is only a single space between time and host?
I tried taking out parts of the time
ex.
%h:%j:%j
or %j:%n:%j doesn't work
I've also tried just using the hour.
ex
(%h %S %j %r %c)
logfile
12 137.192.77.150 GET /index.html 304
and that doesn't work either
I also tried
(%h:%n:%j%w%S %j %r %c)
and unfortunatly that didn't work either
??????
Julie
-----Original Message-----
From: Frank R. Suchy [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 10, 2000 11:02 AM
To: [EMAIL PROTECTED]
Subject: Re: [analog-help] Analog won't recognize time
Are you sure there's only a single space between time and host? Is
there maybe a tab or several spaces?
You could try (%h:%n:%j%w%S %j %r %c).
HTH
Frank
+ Version of Analog: 4.11
+ Operating system: Windows 2000/NT
+
+ Analog won't recogize the the time variable in my log file.
+
+ Analog wouldn't recognize the log file format that we use, so I tried
to
+ tell analog about our format using a log format string.
+ I broke down one of my log files into one line and wrote a string to
+ match the line. It still wouldn't recognize the line (it gave me a
+ "corrupt logfile line" message).
+
+ The logfile line that I used was as follows:
+ 12:15:45 137.192.77.150 GET /index.html 304
+
+ The string I used was as follows
+ LOGFORMAT (%h:%n:%j %S %j %r %c)
+
+ When I took the time variable out of the logfile and string and ran
the
+ analog.exe, it worked.
+ logfile line used:
+ 137.192.77.150 GET /index.html 304
+ LOGFORMAT (%S %j %r %c)
+
+ Do you have any suggestions?
+ I would really appreciate any help.
+
+ Thanks,
+ Julie Hinzman
+ TekEdge Software, LLC
+
------------------------------------------------------------------------
+ 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]/
+
------------------------------------------------------------------------
+
------------------------------------------------------------------------
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]/
------------------------------------------------------------------------
------------------------------------------------------------------------
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]/
------------------------------------------------------------------------