8/17/2023 0 Comments Awstats logo![]() ![]() Select a log file folder (I suggest moving the logs to a different one than the default, so you can have a simple log storage path for all your Web sites).Check the “Use local time for file naming and rollover” option however note that doing so doesn’t change the way IIS records time values in the log but only how it manages files. Set up a log schedule (I suggest monthly, because that schedule makes it easy to manage through AWStats configuration).Next, click the Properties button to edit the logging options.Accept the default “W3C Extended Log File Format” option.Enable extended logging capabilities by checking the “Enable logging” option.You can launch the IIS MMC through Control Panel by double-clicking the Administrative Tools item, and then Internet Information Services ![]() You can control these options from the IIS MMC snap-in management application, editing the log properties for a specific Web site or for all Web sites simultaneously. To use IIS6 with AWStats, you need to make sure that IIS6 logging is turned on, that it’s saving data to log files, and you need to specify which data fields to collect and how to write them. IIS 6 can record data in either log files or database tables the precise fields it records are configurable. conf files in the bin folder you created earlier. Extracting the standard options into a separate general file and then including that in the site-specific files simplifies managing a hosting environment where you want to analyze data for many Web sites.ĪWStats comes with a template configuration called that you can use to create new files (you can find it in the wwwrootcgi-bin folder from the installation). The site-specific file contains information such as where the logs to analyze are, how to process them for this site, and so on. For example, when you instruct AWStats to apply a “CONFIGNAME” configuration, it will look for a file named in the bin folder.Ī configuration file can “include” options defined in another file, so it’s best to create a base/general configuration file that contains the standard options you want to apply to all reports, and then define a specific file for each Web site. You can later refer to specific configuration files using that variable name. You should name your configuration files using the naming pattern, where “CONFIGNAME” is variable and is the name of the configuration you want to create. ![]() You must create a configuration file for each Web site you want to analyze. conf extension that contains information about a Web site’s logs. A configuration file is a text file with a. Rm -fr /home/httpd/vhosts/*/statistics/logs/*.You control AWStats by creating or (more often) altering configuration files. Rm -fr /home/httpd/vhosts/*/statistics/logs/*.4 Rm -fr /home/httpd/vhosts/*/statistics/logs/*.3 Rm -fr /home/httpd/vhosts/*/statistics/logs/*.2 Rm -fr /home/httpd/vhosts/*/statistics/logs/*.1 Rm -fr /home/httpd/vhosts/*/statistics/logs/*.gz This is generally that the log files are too large, to open/process. usr/local/psa/admin/sbin/statistics -calculate-one -domain-name= ![]() To update the plesk stats for just one site.usr/local/psa/admin/sbin/statistics -calculate-all To force an update to all sites daily statistics.The plesk control panel is notorious for breaking, falling over, or simply not working correctly, and is the main reason Astutium no longer offer it for virtual hosting - it simply isn't stable enough :( That said, several of the "quirks" can be fixed or at least temorarily repaired from the command line: Updating Webalizer and AWStats on Linux Plesk Servers from SSH How do I force Statistics (Webalizer and AWstats) to run on Plesk Servers ? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |