Donate Share June 2004: Project of the Month

AWStats

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

different log formats for the same month

You are viewing a single message from this topic. View all messages.

  1. 2009-07-03 17:49:23 UTC
    ah, I do hate to be a bother, but that's not it. I've been using AWStats to make shiny reports for over a year now, and since I make monthly reports for the previous month, I always have to include the month and year in the second command. Let me just reiterate what my real issue seems to be

    1. I download a month's worth of log files from production.
    2. The logs have an odd format, which I represent thus

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

    when I run awstats.pl.

    3. AWStats runs fine, and tells me the following output

    Phase 1 : First bypass old records, searching new record...
    Searching new records from beginning of log file...
    Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
    Jumped lines in file: 0
    Parsed lines in file: 3740883
    Found 2175150 dropped records,
    Found 6 corrupted records,
    Found 2 old records,
    Found 1565725 new qualified records.

    (I know that's a lot of drops, it's because I don't particularly care about downloading images, or internal administrative functions, or what have you.)

    4. I call awstats_buildstaticpages.pl with the awstatsprog option, the config option, and the month and the year.

    The static pages out the other end tell me that although over a million rows have been processed by AWStats, none of these was actually a 'hit'. Since this was working when I was using 'LogFormat=1', I must assume that while the LogFormat seems to let AWStats do the right thing, that the internal DB file becomes empty anyway.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.