AWStats comes with a batch processing tool: tools/awstats_, which can batch traverse all configuration files in a directory and run statistics. Set awstats to run automatically once a day, update log analysis data crontab -e: run at 8:10 every day #update awstats 10 8 * * * (cd/var/-update -config=yourname) awstats can also perform multi-site log statistics. At this time, enter in the browser/cgi-bin/awstats/?config=yourname can see the WEB page after log analysis. update -config=yourname will automatically call the configuration file. Then it's log analysis./ -update -config=yourname -lang=cn For example. For details, check the comments in the configuration file to make it clear. Then you need to rename the under/var/ Modify the configuration file vi Modify the following parameters LogFile="/your website path/logs/access_log.%YYYY-24%MM-24%DD -24" SiteDomain="The name of the site, the default is empty, if it is empty, AWStats will refuse to run the simplest modification of the configuration is this, it can be run, if you need to do other things For some function settings, you only need to modify some related items. %Y%m%d" combined The log name in this format is like logs/access_log.20050614. After installing cronalog, change the CustomLog in nf to the following CustomLog "|/usr/local/sbin/cronolog/path/to/apache/logs/access_log. configure and make to complete the installation. tar zxvf awstats-6.4 cd awstats-6.4 mv Here you need to use the cronolog tool (download from ), download it After decompression, just perform. 5, but it is still a test version, so I don’t need it). The following describes my specific installation process: My operating system environment: REDHAT LINUX AS3+httpd-2.0.46+php-4.3.2+perl-5.8.0 First download and install from, I downloaded the latest stable version awstats 6.4 (now there are 6. Provides a lot of extended parameter statistics functions: using ExtraXXXX series configuration to generate parameter analysis for specific applications will be very useful for product analysis. Human visits" design, so many search engine robot visits are filtered out, so it may be lower than the statistics of other log statistics tools, visits from within the company can also be filtered through IP filtering settings. For a site with a daily visit volume of one million, this speed is sufficient easy configuration/customization: provided by the system With flexible enough but reasonable default configuration rules, the default configuration that needs to be modified does not exceed 3, 4 items can start running, and there are still many modified and extended plug-ins the designer of AWStats is precise. High efficiency: AWStats output statistics items are much richer than Webalizer, and the speed can still reach about 1/3 of Webalizer. Although Webalizer also has a Windows platform version, it is currently lacking in maintenance AWStats can fully implement a system to complete the unified statistics of different WEB servers on its own site: GNU/Linux/Apache and Windows/IIS servers. Compared with another very excellent open source log analysis tool Webalizer, AWStats has the advantages of: friendly interface: you can directly call the corresponding language interface according to the browser (there is a simplified Chinese version) based on Perl: and it solves the problem of cross-platform The problem is that the system itself can run on GNU/Linux or Windows (after ActivePerl is installed) the analyzed logs directly support Apache format (combined) and IIS format (requires modification). It is a Perl-based WEB log analysis tool that has developed rapidly on Sourceforge. Awstats is a WEB log analysis tool, and it can also analyze the logs of FTP and other applications.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |