Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Importing HTTP Access Logs

Discussion in 'General Discussion' started by openaccess, Oct 5, 2007.

  1. openaccess

    openaccess Active Member

    Jan 22, 2006
    Likes Received:
    Trophy Points:
    I'm trying to import some old raw apache logs (dated months/years ago), from a non-cpanel server to a cpanel server. The goal is that the logs and/or stats from the logs will be available to the user as if the cpanel account had received the hits at the time specified in the logs...even though the cpanel account didn't exist yet. How can I do this?

    I tried appending the logs to /usr/local/apache/domlogs/<username>/<domainname> and waiting for logs to be processed, or running /scripts/runweblogs <username>, but have not gotten any results at all. All lines seem to be ignored because no hits are showing up in any stats program. The file formats are identical. The logs I used were from a few months ago, so maybe the date of each line being in the past is causing each line to be ignored. If so, is there a way to override this behavior?

  2. esipas

    esipas Registered

    Jan 15, 2008
    Likes Received:
    Trophy Points:
    Anyone know how to do this?

    I've been trying to find it everywhere... with no success...

    After adding the logs to the file, and running /scripts/runweblogs for the user, only the original log files are being processed and the imported ones do not appear on awstats, with no error messages...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice