Webalizer Question
Hi
I'm wanting to generate stats like the webalizer sample , ie. I want full details for the latest 2 months and only averages and totals for the rest of them. Whatever I try I just get full stats for all the months. Does anyone know what config settings I need to change and what I need to do with the log files to accomplish this, or knows of a link to where I can find this info? (I've gone through the webalizer docs and can't seem to figure it out =/ ) [edited for spelling] |
-
|
I'm pretty sure you can't.
I think that the example you indicated only has 2 months because it would have been a waste of space/bandwidth to post 12 demo months, when even just a single one would have been enough. However, you could write a script to 'cut' out the URLs in summary table (i.e. index.html) and run it after each webalizer run. You could either manually update the script once a month, or do some fancy scripting to base your 'cut' on the current date - 2 months. man cron - for the scheduling man sed - for the 'cutting' man date - for date info Hope this helps |
All times are GMT -5. The time now is 06:53 AM. |