Download |iis| Log Analysis
IIS Log Analysis tool
|
You can consider using open source Awstats to analyze The following is my installation notes, I hope you can have a reference
Awstats's installation notes under IIS6.0 What is Awstats? Awstats is a Perl-based Web log analysis tool that develops quickly on the sourceforge. The log statistics system plays an important role in the user behavior analysis of the site, especially for the keyword access statistics from search engines: it is a very effective source of user behavior analysis data. With the development of Internet for many years, the tool of Web log statistics is more and more mature, and the function is more and more rich. Many of them are open source, Awstats is a very good one.
Download
Download Awstats.
http://awstats.sourceforge.net/
Download ActivePerl.
http://www.activestate.com/
Installation
1. Install ActivePerl First, nothing to say.
2. Install Awstats. After the installation is complete, copy the Wwwroot directory under the Awstats installation directory to the Web publishing directory. The icon directory is also copied to the Web publishing directory.
Set up IIS log because IIS logs are truncated on a daily basis, there is no need for additional settings. You only need to set the fields for the log by following the list:
-date (Date)-time (?)-Client IP address (C-IP)-Username (Cs-username)-Method (Cs-method)-URI Stem (cs-uri-ste m)-URI Query (cs-uri-query)-Protocol Status (sc-status)-Bytes Sent (sc-bytes)-Protocol Version (cs-version)-User Agent (CS (user-agent))-Referrer (CS (referrer))
Setting the Awstats Awstats's main program awstats.pl automatically invokes the corresponding site's configuration file based on the site name: awstats.sitename.conf. For example: Run. The/awstats.pl-config=carelezz call is the awstats.carelezz.conf configuration file in the same directory, and if-config is not specified, the awstats.conf in the current directory is also found as the default profile. So it is best to rename the default awstats.sitename.conf to awstats.yoursite.conf;
Then modify the following options for the configuration file according to the actual situation:
Logfile= "C:windowssystem32logfilesw3svc1ex%yy%mm%dd.log" logtype=w Logformat = "Date Time Cs-method Cs-uri-stem Cs-uri-query cs-username C-ip cs-version CS (user-agent) CS (Referer) sc-status sc-bytes "logseparator=" "SiteDomain=" www . mydomain.com "hostaliases=" www.mydomain.com "dnslookup=1 dirdata=" C:inetpubwwwrootawstatsdata "dircgi="/cgi-bin " Diricons= ". /icon "
Test and complete the analysis log using the following command: AWSTATS.PL-UPDATE-CONFIG=SITENAME-LANG=CN
Log statistics run automatically on Windows: set to run 8:10 every day
C:\Perl\bin\perl.exe c:\awstats\tools\awstats_buildstaticpages.pl-update-config=mysite-lang=cn-dir=c:\inetpub\ Awstats\-awstatsprog=d:\awstats\wwwroot\cgi-bin\awstats.pl
The added IIS log time is between Greenwich, China local time and GMT has a + 8-hour gap, if the direct use of timezone plug-ins from the GMT conversion will have a 40% performance decline. |