Tuesday, February 4, 2014

Analog - Install (Windows)

Analog is a free weblog analysis computer program.
  1. Download from the official website: www.analog.cx/download.html
  2. Unzip to the destination folder, we will call it ANALOG_HOME, ex.: C:\dev\analog-6.0
  3. Create a directory for the log files in input, ex.: %ANALOG_HOME%\input (used by the parameter "LOGFILE")
  4. Create a folder for the report, ex.: %ANALOG_HOME%\reports\default (used by the parameter "OUTFILE")
  5. Copy images from the original directory to the report directory %ANALOG_HOME%\images => %ANALOG_HOME%\reports\default\images
  6. Replace the content of the file %ANALOG_HOME%\analog.cfg with this...
# Configuration file for analog 6.0
# See http://www.analog.cx/
#
# Here are a couple of configuration commands to get you started. Add any more
# you like from the Readme.
#
# Lines starting with # are comments.
#
# There is a much more extensive configuration file in examples/big.cfg

# The full list of these COLS commands is :
# YEARCOLS, QUARTERLYCOLS, MONTHCOLS, WEEKCOLS, DAYREPCOLS, DAYSUMCOLS, HOURREPCOLS, 
# HOURSUMCOLS, WEEKHOURCOLS, QUARTERREPCOLS, QUARTERSUMCOLS, FIVEREPCOLS and FIVESUMCOLS. 
# There is also a TIMECOLS command, which specifies that all the time reports are to have 
# the specified columns.
#
# R Number of requests
# r Percentage of the requests
# P Number of page requests
# p Percentage of the page requests
# B Number of bytes transferred
# b Percentage of the bytes

#LANGUAGE FRENCH

FROM 120129:0000
TO   120129:2359

# If you need a LOGFORMAT command (most people don't -- try it without first!),
# it must go here, above the LOGFILE commands.
APACHELOGFORMAT (%h %l %T %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\")
LOGFILE C:\dev\analog-6.0\input\sawebext*


OUTFILE C:\dev\analog-6.0\reports\default\report.html
HOSTNAME "localhost"

#
# You probably don't need to change anything below this until you are
# experienced.
#
ERRFILE errors.txt
# REQINCLUDE pages
REQLINKINCLUDE pages
REFLINKINCLUDE *
REDIRREFLINKINCLUDE *
FAILREFLINKINCLUDE *
SUBBROW */*
SUBTYPE *.gz,*.Z
# OSCHARTEXPAND Windows
# Add whichever of these types of pages you have on your server, or others.
# PAGEINCLUDE *.shtml
# PAGEINCLUDE *.asp
# PAGEINCLUDE *.jsp
# PAGEINCLUDE *.cfm
# PAGEINCLUDE *.pl
# PAGEINCLUDE *.php
# More SEARCHENGINE commands can be found at
#   http://www.analog.cx/helpers/#conffiles
SEARCHENGINE http://*google.*/* q,as_q,as_epq,as_oq
SEARCHENGINE http://*altavista.*/* q
SEARCHENGINE http://*yahoo.*/* p
SEARCHENGINE http://*lycos.*/* query,wfq
SEARCHENGINE http://*aol.*/* query
SEARCHENGINE http://*excite.*/* search
SEARCHENGINE http://*go2net.*/* general
SEARCHENGINE http://*metacrawler.*/* general
SEARCHENGINE http://*msn.*/* q,MT
SEARCHENGINE http://*netscape.*/* search
SEARCHENGINE http://*looksmart.*/* key
SEARCHENGINE http://*webcrawler.*/* qkw,search,searchText
SEARCHENGINE http://*overture.*/* Keywords
SEARCHENGINE http://*teoma.*/* q
SEARCHENGINE http://*infospace.*/* qkw
SEARCHENGINE http://*alltheweb.*/* q
SEARCHENGINE http://*dogpile.*/* q
SEARCHENGINE http://*ask.*/* q,ask
SEARCHENGINE http://*alltheweb.*/* query
SEARCHENGINE http://*northernlight.*/* qr
SEARCHENGINE http://*nlsearch.*/* qr
SEARCHENGINE http://*dmoz.*/* search
SEARCHENGINE http://*/netfind* query
SEARCHENGINE http://*/pursuit query
ROBOTINCLUDE REGEXPI:robot
ROBOTINCLUDE REGEXPI:spider
ROBOTINCLUDE REGEXPI:crawler
ROBOTINCLUDE Googlebot*
ROBOTINCLUDE msnbot*
ROBOTINCLUDE Infoseek*
ROBOTINCLUDE Scooter*
ROBOTINCLUDE *Slurp*
ROBOTINCLUDE *Validator*
ROBOTINCLUDE Ultraseek*
TYPEALIAS .html    ".html [Hypertext Markup Language]"
TYPEALIAS .htm     ".htm  [Hypertext Markup Language]"
TYPEALIAS .shtml   ".shtml [Server-parsed HTML]"
TYPEALIAS .ps      ".ps   [PostScript]"
TYPEALIAS .gz      ".gz   [Gzip compressed files]"
TYPEALIAS .tar.gz  ".tar.gz [Compressed archives]"
TYPEALIAS .jpg     ".jpg  [JPEG graphics]"
TYPEALIAS .jpeg    ".jpeg [JPEG graphics]"
TYPEALIAS .gif     ".gif  [GIF graphics]"
TYPEALIAS .png     ".png  [PNG graphics]"
TYPEALIAS .txt     ".txt  [Plain text]"
TYPEALIAS .cgi     ".cgi  [CGI scripts]"
TYPEALIAS .pl      ".pl   [Perl scripts]"
TYPEALIAS .css     ".css  [Cascading Style Sheets]"
TYPEALIAS .class   ".class [Java class files]"
TYPEALIAS .pdf     ".pdf  [Adobe Portable Document Format]"
TYPEALIAS .zip     ".zip  [Zip archives]"
TYPEALIAS .hqx     ".hqx  [Macintosh BinHex files]"
TYPEALIAS .exe     ".exe  [Executables]"
TYPEALIAS .wav     ".wav  [WAV sound files]"
TYPEALIAS .avi     ".avi  [AVI movies]"
TYPEALIAS .arc     ".arc  [Compressed archives]"
TYPEALIAS .mid     ".mid  [MIDI sound files]"
TYPEALIAS .mp3     ".mp3  [MP3 sound files]"
TYPEALIAS .doc     ".doc  [Microsoft Word document]"
TYPEALIAS .rtf     ".rtf  [Rich Text Format]"
TYPEALIAS .mov     ".mov  [Quick Time movie]"
TYPEALIAS .mpg     ".mpg  [MPEG movie]"
TYPEALIAS .mpeg    ".mpeg [MPEG movie]"
TYPEALIAS .asp     ".asp  [Active Server Pages]"
TYPEALIAS .jsp     ".jsp  [Java Server Pages]"
TYPEALIAS .cfm     ".cfm  [Cold Fusion]"
TYPEALIAS .php     ".php  [PHP]"
TYPEALIAS .js      ".js   [JavaScript code]"
TYPEALIAS .do      ".do   [Java code]"
TYPEALIAS .action  ".action   [Java code]"

# General Summary: This report contains overall statistics.
GENERAL ON

# Yearly Report
YEARLY OFF
#YEARGRAPH R

# Quarterly Report
QUARTERLY OFF
#QUARTERLYGRAPH R

# Monthly Report
MONTHLY OFF
#MONTHGRAPH R

# Weekly Report
WEEKLY OFF
#WEEKGRAPH R

# Daily Report: This report lists the activity in each day.
DAILYREP ON
DAYREPCOLS RrB
#DAYREPGRAPH R
# Daily Summary
DAILYSUM OFF
#DAYSUMCOLS RrB
#DAYSUMGRAPH R

# Hourly Report: This report lists the activity in each hour.
HOURLYREP ON
HOURREPCOLS RrB
#HOURREPGRAPH R
# Hourly Summary
HOURLYSUM OFF
#HOURSUMCOLS RrB
#HOURSUMGRAPH R

# Hour of the Week Summary
WEEKHOUR OFF
#WEEKHOURCOLS RrB
#WEEKHOURGRAPH R

# Quarter-Hour Report: This report lists the activity in each quarter-hour period.
QUARTERREP ON
QUARTERREPCOLS RrB
#QUARTERREPGRAPH R
# Quarter-Hour Summary
QUARTERSUM OFF
#QUARTERSUMCOLS RrB
#QUARTERSUMGRAPH R

# Five-Minute Report: This report lists the activity in each five-minute period.
FIVEREP ON
FIVEREPCOLS RrB
#FIVEREPGRAPH R
# Five-Minute Summary
FIVESUM OFF
#FIVESUMGRAPH R

# Host Report
HOST OFF
#HOSTFLOOR 20r

# Host Redirection Report
REDIRHOST OFF
#REDIRHOSTFLOOR 20r

# Host Failure Report: This report lists the computers which encountered failed requests.
FAILHOST OFF
#FAILHOSTFLOOR 20r

# Organisation Report
ORGANISATION OFF
#ORGFLOOR 20r

# Domain Report
DOMAIN OFF
#DOMFLOOR 20r

# Request Report: This report lists the files on the site.
REQUEST ON
# Include in the Request Report all files with at least 1 request
REQFLOOR 1r

# Directory Report
DIRECTORY OFF
#DIRFLOOR 20r

# File Type Report
FILETYPE OFF
#TYPEFLOOR 20r

# File Size Report
SIZE OFF

# Processing Time Report: This report lists the times taken to process successful requests.
PROCTIME ON

# Redirection Report
REDIR OFF
#REDIRFLOOR 20r

# Failure Report: This report lists the files that caused failures, for example files not found.
FAILURE ON
FAILFLOOR 1r

# Referrer Report: This report lists the referrers (where people followed links from, or pages which included this site's images).
REFERRER ON
REFFLOOR 500r

# Referring Site Report
REFSITE ON
REFSITEFLOOR 1r

# Search Query Report
SEARCHQUERY ON
SEARCHQUERYFLOOR 3r
# Search Word Report
SEARCHWORD OFF
#SEARCHWORDFLOOR 20r

# Internal Search Query Report
INTSEARCHQUERY OFF
#INTSEARCHQUERYFLOOR 20r
# Internal Search Word Report
INTSEARCHWORD OFF
#INTSEARCHWORDFLOOR 20r

# Redirected Referrer Report: This report lists the referrers that caused redirected requests.
REDIRREF OFF
#REDIRREFFLOOR 20r
# Failed Referrer Report: This report lists the referrers containing broken links to the site.
FAILREF OFF
#FAILREFFLOOR 20r

# Browser Report: This report lists the browsers used by visitors.
BROWSERREP OFF
#BROWREPFLOOR 1r
# Browser Summary: This report lists the vendors of visitors' browsers.
BROWSERSUM OFF
#BROWSUMFLOOR 20r

# Operating System Report
OSREP OFF
#OSFLOOR 20r

# Virtual Host Report
VHOST OFF
#VHOSTFLOOR 20r
# Virtual Host Redirection Report
REDIRVHOST OFF
#REDIRVHOSTFLOOR 20r
# Virtual Host Failure Report
FAILVHOST OFF
#FAILVHOSTFLOOR 20r

# User Report
USER OFF
#USERFLOOR 20r
# User Redirection Report
REDIRUSER OFF
#REDIRUSERFLOOR 20r
# User Failure Report
FAILUSER OFF
#FAILUSERFLOOR 20r

# Status Code Report: This report lists the HTTP status codes of all requests.
STATUS ON
#STATUSFLOOR 20r

ALLGRAPH R
TIMECOLS Rr

BARSTYLE b


FILEEXCLUDE /test.html

FILEEXCLUDE /*.js
FILEEXCLUDE /*.jpg
FILEEXCLUDE /*.jpeg
FILEEXCLUDE /*.png
FILEEXCLUDE /*.css
FILEEXCLUDE /*.png
FILEEXCLUDE /*.xml
FILEEXCLUDE /*.gif
FILEEXCLUDE /*.ico
FILEEXCLUDE /*.mp3
FILEEXCLUDE /*.pdf
FILEEXCLUDE /*.swf
FILEEXCLUDE /*.txt

No comments:

Post a Comment