|
|
AWStats in an Open Soure Log analyzer for Web,FTP or SMTP Servers distributed under the GNU General Public License that generates advanced statistics, graphically. 1. Open IIS Manager & make sure that IIS logs are saved in Extended W3C log format at Web Site Properties |

Than make sure that only the following fields are checked at the edvanced logging options:
date
time
c-ip
cs-username
cs-method
cs-uri-stem
cs-uri-query
sc-status
sc-bytes
cs-version
cs(User-Agent)
cs(Referer)
![]()
|
Edit your new awstats.website.conf file to match your specific environment:
Change the LogFile value to the full path of your web site log file
(Ex:d:/logs/website/W3SVC7/ex%YY-24%MM-24%DD-24.log)
Change the LogType value to W
Change the LogFormat to 2
Change the DirData parameter to reflect a path to store analysis results files.
Change the DirIcons parameter to reflect relative path of icon directory.
Set the SiteDomain parameter to the main domain name or the intranet web site name (Ex: www.urlscan.com).
Set the HostAliases parameter if other domains is used by this web site.
Set the AllowToUpdateStatsFromBrowser parameter to 1 if you don't have command line access and have only cgi access.
Change the DefaultFile parameter to reflect default documents of the web site.
Review and change other parameters if appropriate.
6. Run log analysis by using CLI command:
..\cgi-bin>perl awstats.pl -config=urlscan.net -update
7. Create a batch file containes a command for every one of your web sites on the
server & add it to servers's Scheduled Tasks