Comparison table for an idea on features and differences between most famous statistics tools (AWStats, Analog, Webalizer,...).



Similar documents
Installing AWStats on IIS 6.0 (Including IIS 5.1) - Revision 3.0

Table of contents. AWStats logfile analyzer 7.0 Documentation. Enter your search terms Submit search form

AWStats logfile analyzer Documentation

W3Perl A free logfile analyzer

Redatam+SP REtrieval of DATa for Small Areas by Microcomputer

AWStats logfile analyzer Documentation

How To Use An Awstats Logfile Analyzer On A Pc Or Mac Or Mac (For Pc) For Free

AWStats logfile analyzer 4.1 Documentation

EventTracker: Configuring DLA Extension for AWStats Report AWStats Reports

EventTracker: Configuring DLA Extension for AWStats report AWStats Reports

The web server administrator needs to set certain properties to insure that logging is activated.

Analyzing the Different Attributes of Web Log Files To Have An Effective Web Mining

Installing SQL-Ledger on Windows

Apache Logs Viewer Manual


Greenstone Documentation

WEB2CS INSTALLATION GUIDE

Install Apache on windows 8 Create your own server

SIMIAN systems. Setting up a Sitellite development environment on Windows. Sitellite Content Management System

ANALYSING SERVER LOG FILE USING WEB LOG EXPERT IN WEB DATA MINING

This document details the following four steps in setting up a Web Server (aka Internet Information Services -IIS) on Windows XP:

PoSHServer Documentation AUTHOR: YUSUF OZTURK (MVP)

Bitrix Site Manager ASP.NET. Installation Guide

escan SBS 2008 Installation Guide

Setting up an Apache Web Server for Greenstone 2 Walkthrough

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

Sentral servers provide a wide range of services to school networks.

PROXY SETUP WITH IIS USING URL REWRITE, APPLICATION REQUEST ROUTING AND WEB FARM FRAMEWORK OR APACHE HTTP SERVER FOR EMC DOCUMENTUM EROOM

Configuring the Active Directory Plug-in

When choosing where to install and run the log analyzer, be aware that it requires access to the following log files:

Compiere 3.2 Installation Instructions Windows System - Oracle Database

Microsoft Internet Information Services (IIS)

End User Guide The guide for /ftp account owner

Server Management Tool (SMT) 6.0 For Linux Web Hosting Customers User Manual

IIS, FTP Server and Windows

PHP+MYSQL, EASYPHP INSTALLATION GUIDE

2. Installation Instructions - Windows (Download)

Compiere ERP & CRM Installation Instructions Windows System - EnterpriseDB

Manual Password Depot Server 8

Hostopia Web Hosting - Getting Started

Sharp Remote Device Manager (SRDM) Server Software Setup Guide

Millennium Drive. Installation Guide

Copyright Winfrasoft Corporation. All rights reserved.

5.6.2 Optional Lab: Restore Points in Windows Vista

Configure Single Sign on Between Domino and WPS

How to Configure edgebox as a Web Server

An Introduction To The Web File Manager

LogProcess v1.0 User Guide

SecureAware on IIS8 on Windows Server 2008/- 12 R2-64bit

SSO Plugin. J System Solutions. Upgrading SSO Plugin 3x to 4x - BMC AR System & Mid Tier.

Remote Console Installation & Setup Guide. November 2009

MIGS Payment Client Installation Guide. EGate User Manual

How to Install Multiple Monitoring Agents on a Microsoft Operating System. Version StoneGate Firewall/VPN 2.6 and SMC 3.2

INTRODUCTION TO WEB TECHNOLOGY

Contents: 1. Preparation/download files 2. Apache HTTPD Web Server MySQL PHP PHPMyAdmin Ruby On Rails 1.8.

Creating a generic user-password application profile

Web Page Redirect. Application Note

FlexSim LAN License Server

Web+Center Version 7.x Windows Quick Install Guide 2 Tech Free Version Rev March 7, 2012

Apache Usage. Apache is used to serve static and dynamic content

Pre-Processing: Procedure on Web Log File for Web Usage Mining

MOODLE Installation on Windows Platform

Using IIS and UltraDev Locally page 1

Tableau Server Trusted Authentication

Plugin for Cisco NAC (Network Admission Control) Installation Guide

INSTALLATION GUIDE VERSION

Installation and Deployment

1. When will an IP process drop a datagram? 2. When will an IP process fragment a datagram? 3. When will a TCP process drop a segment?

LogLogic Microsoft Internet Information Services (IIS) Log Configuration Guide

WA2256 Responsive Mobile Web Development with HTML5, CSS3, JavaScript, and jquery Mobile. Classroom Setup Guide. Web Age Solutions Inc.

Using Internet or Windows Explorer to Upload Your Site

How to Install MediaWiki on Windows Server 2003


SMT v4.0 Users Guide (Linux version)

Installation Instructions

Kerio Connect. Kerio 4D Migration. Kerio Technologies

IBM WebSphere Application Server V8.5 lab Basic Liberty profile administration using the job manager

WebSpy Vantage Ultimate 2.2 Web Module Administrators Guide

Moxa Device Manager 2.3 User s Manual

SINGLE SIGN-ON FOR MTWEB

Customizing the SSOSessionTimeout.jsp page for Kofax Front Office Server 3.5.2

TechComplete Test Productivity Pack (TPP) Backup Process and Data Restoration

WEB2CS INSTALLATION GUIDE

Tutorial: setting up a web application

LICENSE4J FLOATING LICENSE SERVER USER GUIDE

SellerDeck. IIS6 Setup Guide. Detailing the setup Windows 2003 (IIS6) Server

Transcription:

What is AWStats AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly. It can analyze log files from all major server tools like Apache log files (NCSA combined/xlf/elf log format or common/clf log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers and some ftp servers. Comparison table for an idea on features and differences between most famous statistics tools (AWStats, Analog, Webalizer,...). http://awstats.sourceforge.net/docs/awstats_compare.html Features A full log analysis enables AWStats to show you the following information: * Number of visits, and number of unique visitors, * Visits duration and last visits, * Authenticated users, and last authenticated visits, * Days of week and rush hours (pages, hits, KB for each hour and day of week), * Domains/countries of hosts visitors (pages, hits, KB, 269 domains/countries detected, GeoIp detection), * Hosts list, last visits and unresolved IP addresses list, * Most viewed, entry and exit pages, * Files type, * Web compression statistics (for mod_gzip or mod_deflate), * OS used (pages, hits, KB for each OS, 35 OS detected), * Browsers used (pages, hits, KB for each browser, each version (Web, Wap, Media browsers: 97 browsers, more than 450 if using browsers_phone.pm library file), * Visits of robots (319 robots detected), * Worms attacks (5 worm's families),

* Search engines, keyphrases and keywords used to find your site (The 115 most famous search engines are detected like yahoo, google, altavista, etc...), * HTTP errors (Page Not Found with last referrer,...), * Other personalized reports based on url, url parameters, referer field for miscellanous/marketing purpose, * Number of times your site is "added to favourites bookmarks". * Screen size (need to add some HTML tags in index page). * Ratio of Browsers with support of: Java, Flash, RealG2 reader, Quicktime reader, WMA reader, PDF reader (need to add some HTML tags in index page). * Cluster report for load balanced servers ratio. Requirements To use AWStats, you need the following requirements: * Your server must log web access in a log file you can read. * You must be able to run perl scripts (.pl files) from command line and/or as CGI (Perl 5.007003 or higher required to run AWStats 6.9 or higher). If not, you can solve this by downloading last Perl version at ActivePerl (Win32) or Perl.com (Unix/Linux/Other). See AWStats F.A.Q. to have examples of supported OS and Web servers. Download AWStats Download latest stable release of AWStats from http://www.awstats.org/. Choose the setup package that ended with.exe extension. Install AWStats Launch the AWStats setup file by double clicking on the executable that just has been downloaded. AWStats installer will automatically launches the awstats_configure.pl script to do several setup actions. If you re not using the Windows installer, you can find the script in the AWStats tools directory. To execute it use (if location of perl.exe is within your path environment): perl awstats_configure.pl

This is what the script does/asks (you can do all these steps manually instead of running awstats_configure.pl (automatically launch by Windows installer) if you prefer) I) awstats_configure.pl tries to determine your current log format from your Apache web server configuration file httpd.conf (it asks for the path if not found). If you use a common log, awstats_configure.pl will suggest changing it to the NCSA combined/xlf/elf format (you can use your own custom log format but this predefined log format is often the best choice and makes setup easier). If you answer yes, awstats_configure.pl will modify your httpd.conf, changing the following directive from: CustomLog /yourlogpath/yourlogfile common to CustomLog /yourlogpath/yourlogfile combined See the Apache manual for more information on this directive (possibly installed on your server as www.mysite.com/manual). Install AWStats- Free Logfile Analyzer for Site Statistics Setup and Configuration for Apache Web Server AWStats installer will automatically launches the awstats_configure.pl script to do several setup actions. If you re not using the Windows installer, you can find the script in the AWStats tools directory. To execute it use (if location of perl.exe is within your path environment): perl awstats_configure.pl This is what the script does/asks (you can do all these steps manually instead of running awstats_configure.pl (automatically launch by Windows installer) if you prefer): A) awstats_configure.pl tries to determine your current log format from your Apache web server configuration file httpd.conf (it asks for the path if not found). If you use a common log, awstats_configure.pl will suggest changing it to the NCSA combined/xlf/elf format (you can use your own custom log format but this predefined log format is often the best choice and makes setup easier). If you answer yes, awstats_configure.pl will modify your httpd.conf, changing the following directive from: CustomLog /yourlogpath/yourlogfile common to CustomLog /yourlogpath/yourlogfile combined See the Apache manual for more information on this directive (possibly installed on your server as www.mysite.com/manual).

II) awstats_configure.pl will then add, if not already present, the following directives to your Apache configuration file (note that the /usr/local/awstats/wwwroot path might differ according to your distribution or OS: # # Directives to add to your Apache conf file to allow use of AWStats as a CGI. # Note that path /usr/local/awstats/ must reflect your AWStats Installation path. # Alias /awstatsclasses /usr/local/awstats/wwwroot/classes/ Alias /awstatscss /usr/local/awstats/wwwroot/css/ Alias /awstatsicons /usr/local/awstats/wwwroot/icon/ ScriptAlias /awstats/ /usr/local/awstats/wwwroot/cgi-bin/ # # This is to permit URL access to scripts/files in AWStats directory. # Options None AllowOverride None Order allow,deny Allow from all III) if changes were made as indicated in parts A and B, awstats_configure.pl restarts Apache to apply the changes. To be sure the log format change is effective, go to your homepage. IV) awstats_configure.pl will ask you for a name for the configuration profile file. Enter an appropriate name such as that of your web server or the virtual domain to be analyzed, i.e. mysite.

awstats_configure.pl will create a new file called awstats.mysite.conf by copying the template file awstats.model.conf. The new file location is: - For Linux/BSD/Unix users: /etc/awstats. - For Mac OS X, Windows and other operating systems: the same directory as awstats.pl (cgi -bin). V) awstats_configure.pl ends. Check through the httpd.conf is configured properly according to steps above. It has been reported that sometime the CustomLog is not changed from common to combined. Additional Configuration at Main Parameters of awstats.mysite.conf A) Change Apache log file directory by: Find : LogFile= /var/log/apache/access.log Replace with : LogFile= C:/Program Files/Apache Group/Apache2/logs/access_log (Important: The setting is for default Apache installation path. If you change your Apache path, please input accordingly. Note that the directory seperator is /) B) Change log file type (Optional, typically no need to change) Find : LogType=W Replace the value with W for analyzing web server log files, S for a streaming server log file, M for mail log files, F for ftp log files. C) Check if LogFormat has the value 1 (it means NCSA apache combined/elf/xlf log format ) or use a personalized log format if you don t use combined log format. D) Check if SiteDomain parameter with the main domain name or the intranet web server name used to reach the web site to analyze (Example: www.mydomain.com). E) If you have several possible name for same site, add list in HostAlias parameter: Find : HostAliases= localhost 127.0.0.1 REGEX*^.*\.myserver\.com$+ Replace with : HostAliases= yoursite.com localhost 127.0.0.1 (You can include alias names from dynamic DNS accounts such as www.mysite.serveftp.net and etc.) F) AWStats statistics can be updated from a browser, to provide real-time statistics, by clicking the Update now link that appears when AWStats is used as a CGI. To enable it:

Find : AllowToUpdateStatsFromBrowser=0 Replace with : AllowToUpdateStatsFromBrowser=1 G) Edit awstats.pl located in C:\Program Files\AWStats\wwwroot\cgi-bin\ and change the path on the first line to point to exact location of perl.exe in your system, i.e. #!C:\perl\bin\perl.exe. Build/Update Statistics There are two possible way to analyze, update and generate the AWStats statistics, command line and browser based. Command Line Option Go to the command line, and change directory to your AWStats cgi-bin directory, i.e. C:\Program Files\AWStats\wwwroot\cgi-bin. The AWStats update command line is (replace with your domain): perl awstats.pl -config=www.yourdomain.com -update AWStats database files are saved in directory defined by DirData parameter in config file, which we left as default (current directory). Update might take a while, if the log file is big. When update is finished, you should get on screen a result like this: Update for config /etc/awstats/awstats.myvirtualhostname.conf With data in log file /pathtoyourlog/yourlog.log Phase 1 : First bypass old records, searching new record Searching new records from beginning of log file Phase 2 : Now process new records (Flush history on disk after 20000 hosts) Jumped lines in file: 0 Parsed lines in file: 225730 Found 122 dropped records, Found 87 corrupted records, Found 0 old records, Found 225521 new qualified records.

Setting up AWStats on Windows Server and IIS Configuring Web Site Logging In order to capture the data AWStats tracks, your sites must log the following fields: date time c-ip cs-username cs-method cs-uri-stem sc-status sc-bytes cs-version cs(user-agent) cs(referer) IIS 6 Setup To configure logging in IIS 6, open IIS Manager and right click on the Web Sites folder and select Properties. On the Web Site tab, click the Properties button in the Enable logging section. In the Logging Properties, configure the schedule to be daily with local time used for file naming and rollover. On the Advanced tab, configure the required fields to be logged. Apply your changes. IIS 7 Setup To configure logging in IIS 7, open IIS Manager and select Logging from the server configurati on options.

In the Logging configuration, set up a single log file per site which rolls over daily using the local time for file naming. Click the Select Fields button and check the boxes next to the required fields. Apply your changes. Setting Up AWStats Download the AWStats zip package from Sourceforge. Create a folder called awstats in your C:inetpubwwwroot folder and extract the following files from the downloaded zip file to this folder: /wwwroot/icon /wwwroot/cgi-bin/lang /wwwroot/cgi-bin/lib /wwwroot/cgi-bin/plugins /wwwroot/cgi-bin/awredir.pl /wwwroot/cgi-bin/awstats.model.conf /wwwroot/cgi-bin/awstats.pl Once the files are extracted, copy the awstats.model.conf file to a file named awstats.domain.com.conf (where domain.com is the site to track), open it in Notepad and configure the options as needed. The first thing you will need to configure is the log file location, which by default is located here: Server 2003 C:WINDOWSsystem32LogFilesW3SVC[IIS_ID] Server 2008: C:inetpublogsLogFilesW3SVC[IIS_ID] You can find the IIS ID by looking at the master site listing in IIS Manager and noting the value in the ID column next to the respective site. Set the options in the configuration file. This file has a very good explanation of what each option does, so take a few minutes to review them. LogFile= C:inetpublogsLogFilesW3SVC1u_ex%YY-24%MM-24%DD-24.log (Server 2008/IIS 7 where the stats are calculated daily) LogFile= C:WINDOWSsystem32LogFilesW3SVC1ex%YY-4%MM-4%DD-4.log (Server 2003/IIS 6 where the stats are calculated every 4 hours to be updated throughout the day) LogFormat= date time cs-method cs-uri-stem cs-username c-ip cs-version cs(user-agent) cs(referer) sc-status sc-bytes SiteDomain= domain.com HostAliases= www.domain.com 11.22.33.44 (any other URL s which point to your site) DirIcons= icon DefaultFile= index.php index.html