Looking at my hosting site I noticed there is quite a lot of traffic looking for how to reset the open source project webalizer so here is what I do to reset it.
Basically under Fedora the webalizer package is installed in /var/lib/webalizer, and in there (if you have run it already) will be two files webalizer.current and webalizer.hist you will need to delete both of them for it to reset itself.
The webalizer.current documents the last known position so it doesnt go back over the same stats when it runs and the webalizer.hist file actually holds the statistics.
Be careful deleting webalizer.hist, however — this deletes the statistics from the previous months, so if you just want to delete for one month.
thanks Roger, this is why the blog entry is called how to reset webalizer because yes it deletes the stats ie resets them.
Note: It is unnecessary to change config (Incremental = yes) to Incremental = no. After having deleted webalizer.hist and webalizer.current, I did this thinking, “The first time, it’s not incremental, and I need webalizer to realize that.” So I ran it, then I set Incremental=yes again and ran again on next day’s data.
But then, my stats came out weird: I had a huge year’s worth of data, but this month was blank until today and yesterday– and those numbers were entirely too low…
I reran again with Incremental = yes as it should be, and all came out lovely.
thanks for the post pf