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

IIS Log Import and logresolvemerge

Reply to Post Add a New Topic
UserPost

11:42 am
January 29, 2009


duhaas

Member

posts 7

I can get awstats to work just fine when I use just one days log file, but when I use the tool to merege a months worth, I get this message:

Create/Update database for config “./awstats.stats.conf” by AWStats version 6.8 (build 1.910)
From data in log file “C:\\WINDOWS\\system32\\LogFiles\\W3SVC491076679\\all.log”…
Phase 1 : First bypass old records, searching new record…
Direct access to last remembered record has fallen on another record.
So searching new records from beginning of log file…
AWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log.
Your log file C:\\WINDOWS\\system32\\LogFiles\\W3SVC491076679\\all.log must have a bad format or LogFormat parameter setup does not match this format.
Your AWStats LogFormat parameter is:
2
This means each line in your web server log file need to have “MSIE Extended W3C log format” like this:
date time c-ip c-username cs-method cs-uri-sterm sc-status sc-bytes cs-version cs(User-Agent) cs(Referer)
And this is an example of records AWStats found in your log file (the record number 50 in your log):
2009-01-02 15:16:55 GET /App_Themes/Office2003+Blue/Grid View/gvCollapsedButton.png – - A049725 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+ 1.1.4322;+.NET+CLR+2.0.50727) – 401 1872
Setup ('./awstats.stats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

The files are all using the right format????

12:04 pm
January 29, 2009


Jean-Luc

Admin

posts 1125

There are many cases where LogFormat=2  does not work.

Use the right "long" LogFormat definition and the problem will be solved. You can try this one (not sure about the %host  field though) :

LogFormat = "%time2 %method %url %query %logname %host %other %ua %referer %code %bytesd"

12:17 pm
January 29, 2009


duhaas

Member

posts 7

Perfect. Thank you much. Now how do I get it to display more than the past two days in the the output of the page???

Edited by admin: please do not use ALL CAPS in your messages. Thanks.

12:28 pm
January 29, 2009


duhaas

Member

posts 7

actually figured out i needed to delete the cache, now i just need 2008 to show up?  I have all of jan so far

12:29 pm
January 29, 2009


Jean-Luc

Admin

posts 1125

Check How can I process an old log file ? in the AWStats FAQ.

Reply to Post

Reply to Topic:
IIS Log Import and logresolvemerge

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:
11 + 3
   


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)