Manually Run Urchin Reports

by damonp on September 13, 2005

  1. Log into the Urchin admin panel.
  2. Change the Log File Path to ‘-’ for the selected profile. Copy down the current log file path to replace when finished.
  3. Clear out any recent logs with the command (the path to Urchin may vary on your system):

    /usr/local/urchin/util/udb-sanitizer -p profilename -d YYYYMM

    Follow the directions given by udb-sanitizer. One or more days may be cleared, a whole month may be cleared or the data can be rolled back using any available backups.

  4. Run the Urchin report with:

    /usr/local/urchin/bin/urchin -p profilename < /full/path/to/log/file
  5. Start with the oldest logs first and work back to the current log file. On most systems the log files are named access_log access_log.1 access_log.2.gz access_log.3.gz in increasing age order. Gzip’d files need unzipped beforehand
  6. Change the Log File Path back to the original path as copied down in Step #2.

Popularity: 1% [?]

Leave a Comment

Previous post:

Next post: