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
UserPost

8:36 am
August 12, 2009


handro1104

New Member

posts 1

I am using

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

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

A record is

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

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

Yopur help would be greatly appreciated,

Alejandro Barrero

9:34 am
August 12, 2009


Jean-Luc

Admin

posts 1125

Hi,

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

- %host  should be the host IP address 12.34.56.78 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

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

Guest URL (required)

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


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
12 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2709

Membership:

There are 257 Members
There have been 302 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)