![]() This article also looks at how to install AWStats, analyze logs, and publish generated reports from IIS 6 log files. For example, report generation is scheduled in offline mode to run during off-peak hours. This article discusses how to install and use AWStats only in offline mode, which is preferable because it minimizes security risks and resource usage, so as to not undermine Web server performance. The second is “offline” mode, in which AWStats analyzes data and creates static reports as HTML pages publishable via any standard Web server. When used in online mode, AWStats updates its reports on request. The first is interactive, or “online,” mode. The Perl source is neither very clear nor particularly readable, so it’s not easy to change the behavior of the software, but you can use it “as is” for most common needs.ĪWStats works in two modes. It requires an interpreter that can execute Perl scripts and has a small footprint on the server. In fact, most of the time, AWStats doesn’t consume any resources at all.ĪWStats is a Perl application with a simple structure. It is also very fast, and it doesn’t consume many resources. It can analyze a wide variety of logs, and it creates good reports - not the full-featured, interactive, and special-effect-filled reports costly commercial software generates - but still useful, with all the important data presented tastefully. If you can’t afford to devote an entire server to Web log analysis and report creation, then you need an inexpensive and fast solution that isn’t terribly resource-intensive.įortunately, such as solution exists, and its name is AWStats.ĪWStats is a free, open source log analyzer. For example, recent WebTrends (one of the more popular commercial packages) versions require considerable RAM and processor time. ![]() In addition, some log analyzers have a performance impact on the server itself. Unfortunately, most are also very expensive. Need to know what your Web site users are visiting in your sites? Try this free and open source Web log analyzer you can use with IIS6-hosted Web sites and applications.īecause log analysis is so important, many commercial software applications create useful and good-looking reports. Analyzing the logs reveals information about which resources are popular, what kinds of browsers people are using, how much bandwidth a Web site consumes, the request trend during a given time span, and so on. When logging is enabled, Web servers log information about each request. The Cron Job can be edited from the user's control panel.Web server logs are a powerful resource for extracting information about Web sites and applications. Cron Job Added in System User Cron Table.Īll done, you can now access AWStats for this domain from :įor log processing summary, check /home/dtmsite/domains//public_html/cgi-bin/awstats/status.log Processing logs for the first time, this might take a few minutes./home/dtmsite/domains//public_html/cgi-bin/awstats/: not foundĬhown: separation of user and group with a period is deprecated ( There is an issue with this script = 1.24 please read the message with subject "WARNING" in this thread for more info about this issue and work around) The script, description and a bit of help is available on the above page. I'm not sure if DA allows execution of scripts after adding a domain, nor which arguments are passed on, but it's probably an easy process to use it to automatically add AWStats when a domain is added. ![]() No questions asked, it downloads AWStats 6.4 the first time you use it, unpacks it, installs it for a specific domain, creates the conf file and user cron job, processes logs for the first time and that's it, you can just go to the url and browse the stats.ĭont want it anymore on a domain ?, run the script again with a -d argument and all is gone, including the cron job. In summary, it's a perl script that must be run as root, it takes the username, domain and action (add/remove) as arguments. Unless AWStats is part of DA or Installatron already and I havent noticed I thought it ended up being usefull enough to be posted here as it might help other people. I didn't find the 'magic' install script that I wanted (one that requires no thinking. I had a look around for an quick and easy way to install AWStats on some domains, not as a serverwide solution. AWStats 6.4 - easy install/remove script here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |