Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Webalizer to view my site stats, and it's working ok with one exception; I have log rolling configured so my log directory looks something like this:

/var/log/apache2$ ls  

Webalizer ends up only storing the last ~4 days each time it runs, so I only ever get a rolling window of stats rather than the full month. How can I make Webalizer process the full set of logs?

share|improve this question
up vote 4 down vote accepted

in webalizer.conf add:

Incremental     yes
IncrementalName webalizer.current

i point webalizer to already rotated file that will not change and execute it after the rotation:

LogFile /var/log/apache2/
share|improve this answer
Thanks, I'll try that out. Is there a way to force it to process the last month of compressed files so I don't have to wait another month? – Simon Steele Apr 29 '10 at 11:05
@Simon - i'm not sure if i get what you mean. you want to process all history? then zcat *.gz >> all and process once file called all. if processing in the middle of the month is what you mean - try running webalizer everyday on access.log - this [ i think ] should work too. – pQd Apr 29 '10 at 11:57
Thanks, the first suggestion should work for me - I just wanted to re-process the history that I'd lost due to not having Incremental turned on. – Simon Steele Apr 29 '10 at 12:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.