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?


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/whatever.com-access.log.1
  • 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
  • 1
    @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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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