Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Webalizer may be configured to ignore hits from some sites. This is useful to some people to prevent local testing of the web site from impacting the statistics. Having said this, my own webalizer seems to differ significantly from statistics gathered by my own code, but in the opposite direction; webalizer is reporting, at times, much more traffic than my analysis code that breaks down the log files. I am going to look into this a bit more closely. It will probably require inspecting the Webalizer source code, so don't hold your breath waiting for an explanation from that.
--- rod.
Hey Rod,
Thanks. How are you inspecting the log files, if you dont mind me asking? Curious if my script is missing something, or if I have the right logic.
I am using a perl script that analyzes a daily Apache access log file, in one of the standard formats, the name of which I cannot recall. I know the format is different from the one you are using, since the style I am using has less than ten fields per record. Until now, I haven't looked too closely since Webalizer and my log files are about 4 hours out of sync, since the log rotation is occurring at 0400 each day. My own script does not count bytes over periods greater than one day.
For what its worth, here is my code that parses the logfile:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.