Title: Apachelogformat challenge

Hi - I’m new to analog and frustrated - a couple hours of searching and guessing and I can’t get the following to run successfully.

Here is the httpd.conf entry
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t p=%p P=%P \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

Here are a few sample log file lines
192.168.128.90 - - [28/Feb/2004:05:03:21 +0000] p=8001 P=32692 "GET /ForemostSTAR/fic/login_message.htm?SMSESSION=NO HTTP/1.1" 200 847

192.168.128.90 - - [28/Feb/2004:05:03:21 +0000] "GET /ForemostSTAR/fic/login_message.htm?SMSESSION=NO HTTP/1.1" 200 847
192.168.128.90 - - [28/Feb/2004:05:03:23 +0000] p=8001 P=32693 "GET /ForemostSTAR/star.css HTTP/1.1" 200 7715
192.168.128.90 - - [28/Feb/2004:05:03:23 +0000] "GET /ForemostSTAR/star.css HTTP/1.1" 200 7715
192.168.128.90 - - [28/Feb/2004:05:06:04 +0000] p=8001 P=32696 "GET /?SMSESSION=NO HTTP/1.1" 302 454
192.168.128.90 - - [28/Feb/2004:05:06:04 +0000] "GET /?SMSESSION=NO HTTP/1.1" 302 454
192.168.128.90 - - [28/Feb/2004:05:06:05 +0000] p=8001 P=32698 "GET /ForemostSTAR/ScreenServlet?TYPE=33554432&REALMOID=06-c934eba1-9b1c-11d5-89a8-0002a55c0326&GUID=&SMAUTHREASON=0&TARGET=$SM$https%3a%2f%2fwww%2eforemoststar%2ecom%2fForemostSTAR%2fScreenServlet%3fscreenState%3dcom%2estar%2ehtmlgen%2eSDSlogon%26transition%3dLogon%26browserType%3dIE%26TYPE%3d33554432%26REALMOID%3d06-3d729fbd-7411-49cb-89dd-c35daf8670dc%26GUID%3d%26SMAUTHREASON%3d0%26TARGET%3d$$SM$$https$%3a$%2f$%2fwww$%2eforemoststar$%2ecom$%2f HTTP/1.1" 302 857

192.168.128.90 - - [28/Feb/2004:05:06:05 +0000] "GET /ForemostSTAR/ScreenServlet?TYPE=33554432&REALMOID=06-c934eba1-9b1c-11d5-89a8-0002a55c0326&GUID=&SMAUTHREASON=0&TARGET=$SM$https%3a%2f%2fwww%2eforemoststar%2ecom%2fForemostSTAR%2fScreenServlet%3fscreenState%3dcom%2estar%2ehtmlgen%2eSDSlogon%26transition%3dLogon%26browserType%3dIE%26TYPE%3d33554432%26REALMOID%3d06-3d729fbd-7411-49cb-89dd-c35daf8670dc%26GUID%3d%26SMAUTHREASON%3d0%26TARGET%3d$$SM$$https$%3a$%2f$%2fwww$%2eforemoststar$%2ecom$%2f HTTP/1.1" 302 85

Here is my analog apachelogformat line
APACHELOGFORMAT (%h %l %u %t p=%p P=%P \"%r\" %>s %b)

Here is what errors.txt looks like
analog: Warning L: Large number of corrupt lines in logfile
  C:\temp\foremost\puxsweb2\access_log-20040227040130: turn debugging on or try
  different LOGFORMAT
    Current logfile format:
      %S %j %j [%d/%M/%Y:%h:%n:%j] p=%j P=%j "%j%w%r%wHTTP%j" %c %b\n

Any ideas?

Thanks

Reply via email to