Current User: Guest Login
Please consider registering

Lost Your Password?

Search Forums:


Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Corrupted records

Reply to Post Add a New Topic

8:36 am
August 12, 2009


New Member

posts 1

I am using

LogFormat=”%host %time1 %method %code %bytesd”

in Glassfish use %datetime% %request%  %status% %response.length%.

A record is

"" "11/Aug/2009:16:25:41 -0500" "GET /TomcatJSPExample/jsp2/el/basic-arithmetic.jsp HTTP/1.1" 200 1965

But perl -config=TomcatJSPExample -update -showcorrupted gives it a a corrupted record.

Yopur help would be greatly appreciated,

Alejandro Barrero

9:34 am
August 12, 2009



posts 1125


Your record format is not compatible with AWStats for several reasons:

- %host  should be the host IP address without quotes

- %time1  is [dd/mon/yyyy:hh:mm:ss +0000]. As you can see, it must be dellimited by square brackets.

If you want AWStats to process your logs as they are, you need to preprocess the log file with a program that will make it compatible before you pass it to AWStats.

You should also replace %method  by %methodurl  in your LogFormat  definition.

Reply to Post

Reply to Topic:
Corrupted records

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
2 + 1

About the Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
15 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710


There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)