#this is the serverwide default configuration file for analog #for use together with webstats. # #it should be located at /etc/webstats # #the following line is the only line of this file you MUST edit. #it shows analog where to look for the logfiles of the virtual domain #it is currently working on # #the path below is relativ to the path of the webstats directory of #your virtual domain # #Example: #The webstats for your virtual domains are here: # # /home/vhosts/virtual_domain/www/webstats # #Your logfiles are here: # # /home/vhosts/virtual_domain/logs # #so the following line would be correct: LOGFILE ../../logs/* ################################# #Below here are the usual configuration options for analog which should have #no effect to the working of webstats... ok, you should leave the #file/directory names as they are, but everything else you can change to your #likening... # # # Here is a big configuration file for analog version 5.0 # # # It contains most commands which you can use # (or at least one example from each family of commands). # # Actually this file doesn't really do much except show you what's available, # because it gives almost all the commands their default values. # (As of time of writing -- I don't promise it will stay up-to-date.) # # Even this file doesn't contain all the commands -- you'll have to read the # docs for the full set! # # First the commands you are most likely to want to change. # # If you need a LOGFORMAT command it must go here, above the LOGFILE commands. # LOGFORMAT MICROSOFT-NA # The logfile(s) to be analysed # LOGFILE /old/logs/access_log.* # # Your organisation's name and URL for the top line of the report #HOSTNAME "[set by webstats]" #HOSTURL http://set.by.webstats # # Where to write the report OUTFILE ./analog.dat # # URL for the images directory IMAGEDIR images/ # # URL and local directory for the pie charts CHARTDIR images/ LOCALCHARTDIR /home/patsplanet.com/www/stats/images/ # # Style sheet for the output page STYLESHEET none # # Web server fetches /dir/index.html when asked for /dir/ DIRSUFFIX index.html # # Case sensitive or case insensitive file system: default depends on your OS. # If your web server and your analog run on different OS's, you may need to # change this according to the machine running your server. # CASE INSENSITIVE # USERCASE SENSITIVE # # How to uncompress compressed logfiles # UNCOMPRESS *.gz,*.Z "gzip -cd" # Cache files: see docs/cache.html CACHEFILE none CACHEOUTFILE none # Aliases: see docs/alias.html # I can't list all of them, but there are aliases for individual items, e.g. # FILEALIAS /football/* /soccer/* # and there are also aliases for each report, e.g. # REQALIAS /soccer/* "Football: /soccer/*" # You can also use regular expressions: # FILEALIAS REGEXP:^/(football|soccer)/(.*) /$2 # !!! if you use analog < 5.1 uncomment the following line !!! # BROWOUTPUTALIAS Mozilla Netscape BROWOUTPUTALIAS "Mozilla (compatible)" "Netscape (compatible)" BROWOUTPUTALIAS IWENG AOL TYPEOUTPUTALIAS .html ".html [Hypertext Markup Language]" TYPEOUTPUTALIAS .htm ".htm [Hypertext Markup Language]" TYPEOUTPUTALIAS .shtml ".shtml [Server-parsed HTML]" TYPEOUTPUTALIAS .ps ".ps [PostScript]" TYPEOUTPUTALIAS .gz ".gz [Gzip compressed files]" TYPEOUTPUTALIAS .tar.gz ".tar.gz [Compressed archives]" TYPEOUTPUTALIAS .jpg ".jpg [JPEG graphics]" TYPEOUTPUTALIAS .jpeg ".jpeg [JPEG graphics]" TYPEOUTPUTALIAS .gif ".gif [GIF graphics]" TYPEOUTPUTALIAS .png ".png [PNG graphics]" TYPEOUTPUTALIAS .txt ".txt [Plain text]" TYPEOUTPUTALIAS .cgi ".cgi [CGI scripts]" TYPEOUTPUTALIAS .pl ".pl [Perl scripts]" TYPEOUTPUTALIAS .css ".css [Cascading Style Sheets]" TYPEOUTPUTALIAS .class ".class [Java class files]" TYPEOUTPUTALIAS .pdf ".pdf [Adobe Portable Document Format]" TYPEOUTPUTALIAS .zip ".zip [Zip archives]" TYPEOUTPUTALIAS .hqx ".hqx [Macintosh archives]" TYPEOUTPUTALIAS .exe ".exe [Executables]" TYPEOUTPUTALIAS .wav ".wav [WAV sound files]" TYPEOUTPUTALIAS .avi ".avi [AVI movies]" TYPEOUTPUTALIAS .arc ".arc [Compressed archives]" TYPEOUTPUTALIAS .mid ".mid [MIDI sound files]" TYPEOUTPUTALIAS .mp3 ".mp3 [MP3 sound files]" TYPEOUTPUTALIAS .doc ".doc [Microsoft Word document]" TYPEOUTPUTALIAS .rtf ".rtf [Rich Text Format]" TYPEOUTPUTALIAS .mov ".mov [Quick Time movie]" TYPEOUTPUTALIAS .mpg ".mpg [MPEG movie]" TYPEOUTPUTALIAS .mpeg ".mpeg [MPEG movie]" TYPEOUTPUTALIAS .asp ".asp [Active Server Pages]" TYPEOUTPUTALIAS .jsp ".jsp [Java Server Pages]" TYPEOUTPUTALIAS .cfm ".cfm [Cold Fusion]" TYPEOUTPUTALIAS .php ".php [PHP]" TYPEOUTPUTALIAS .js ".js [JavaScript code]" # Inclusions and exclusions: see docs/include.html # Again there are these for individual items, e.g. # FILEINCLUDE /football/* # FILEEXCLUDE /football/* # and for each report, e.g. REQINCLUDE pages REQINCLUDE *.pdf # Or you can use regular expressions: # FILEINCLUDE REGEXP:^/(football|soccer) # You can make more things into pages with commands like # PAGEINCLUDE *.shtml # PAGEINCLUDE *.asp # PAGEINCLUDE *.jsp # PAGEINCLUDE *.cfm # PAGEINCLUDE *.pl PAGEINCLUDE *.php PAGEINCLUDE *.php3 PAGEINCLUDE *.php4 # You can limit the dates analysed with FROM and/or TO: see docs/include.html # FROM 991001 # TO -00-00-01 # Controlling status codes: see docs/include.html # STATUSINCLUDE 200-299,304 # STATUSEXCLUDE 206 304ISSUCCESS ON # Which browsers count as robots in the Operating System Report ROBOTINCLUDE REGEXPI:robot ROBOTINCLUDE REGEXPI:spider ROBOTINCLUDE REGEXPI:crawler ROBOTINCLUDE Googlebot* ROBOTINCLUDE Infoseek* ROBOTINCLUDE Scooter* ROBOTINCLUDE Slurp* ROBOTINCLUDE Ultraseek* # Whether each report is wanted: see docs/output.html GENERAL ON YEARLY ON QUARTERLY ON MONTHLY ON DAILYREP ON DAILYSUM ON WEEKLY ON HOURLYREP ON HOURLYSUM ON QUARTERREP ON QUARTERSUM ON FIVEREP ON FIVESUM ON DOMAIN ON ORGANISATION ON DIRECTORY ON FILETYPE ON REQUEST ON REDIR ON FAILURE ON SIZE ON PROCTIME ON HOST ON REDIRHOST ON FAILHOST ON REFERRER ON REFSITE ON REDIRREF ON FAILREF ON VHOST ON REDIRVHOST ON FAILVHOST ON USER OFF REDIRUSER OFF FAILUSER OFF SEARCHQUERY ON SEARCHWORD ON INTSEARCHQUERY ON INTSEARCHWORD ON BROWSERREP ON BROWSERSUM ON OSREP ON STATUS ON # The columns in each report: see docs/timereps.html and docs/othreps.html TIMECOLS RrPp YEARCOLS RrPp QUARTERLYCOLS RrPp MONTHCOLS RrPp WEEKCOLS RrPp DAYREPCOLS RrPp DAYSUMCOLS RrPp HOURREPCOLS RrPp HOURSUMCOLS RrPp QUARTERREPCOLS RrPp QUARTERSUMCOLS RrPp FIVEREPCOLS RrPp FIVESUMCOLS RrPp DOMCOLS RrBb ORGCOLS RrBb HOSTCOLS RrBb REDIRHOSTCOLS Rr FAILHOSTCOLS Rr DIRCOLS RrBb TYPECOLS RrBb REQCOLS RrBbD REDIRCOLS Rr FAILCOLS Rr REFCOLS Rr REFSITECOLS Rr REDIRREFCOLS Rr FAILREFCOLS Rr BROWREPCOLS Rr BROWSUMCOLS Rr OSCOLS NRrPp SIZECOLS Rb PROCTIMECOLS Rr VHOSTCOLS RrBb REDIRVHOSTCOLS Rr FAILVHOSTCOLS Rr USERCOLS RrBb REDIRUSERCOLS Rr FAILUSERCOLS Rr SEARCHQUERYCOLS Rr SEARCHWORDCOLS Rr INTSEARCHQUERYCOLS Rr INTSEARCHWORDCOLS Rr STATUSCOLS Rr # How the graphs are plotted: see docs/timereps.html ALLGRAPH P YEARGRAPH P MONTHGRAPH P DAYREPGRAPH P DAYSUMGRAPH P HOURREPGRAPH P HOURSUMGRAPH P WEEKGRAPH P QUARTERREPGRAPH P QUARTERSUMGRAPH P FIVEREPGRAPH P FIVESUMGRAPH P # Whether the time reports run forwards or backwards: see docs/timereps.html ALLBACK ON YEARBACK ON QUARTERLYBACK ON MONTHBACK ON DAYREPBACK ON HOURREPBACK ON WEEKBACK ON QUARTERREPBACK ON FIVEREPBACK ON # The number of rows to display in each time report: see docs/timereps.html YEARROWS 0 QUARTERLYROWS 0 MONTHROWS 0 WEEKROWS 0 FULLDAYROWS 42 FULLHOURROWS 48 QUARTERROWS 96 FIVEROWS 24 # The floors for each report: see docs/othreps.html and docs/hierreps.html REQFLOOR 20r REQARGSFLOOR 10r REDIRFLOOR -30r REDIRARGSFLOOR 10r FAILFLOOR -30r FAILARGSFLOOR 10r DOMFLOOR 0b SUBDOMFLOOR 0.5%b ORGFLOOR -20r SUBORGFLOOR 0.5%r DIRFLOOR 0.01%b SUBDIRFLOOR 0.01%b TYPEFLOOR 0.1%b SUBTYPEFLOOR 0.1%b HOSTFLOOR -50r REDIRHOSTFLOOR -20r FAILHOSTFLOOR -20r REFFLOOR 20r REFARGSFLOOR 10r REFSITEFLOOR -30r REFDIRFLOOR 50r REDIRREFFLOOR -30r REDIRREFARGSFLOOR 10r FAILREFFLOOR -30r FAILREFARGSFLOOR 10r BROWSUMFLOOR -20r SUBBROWFLOOR -20r BROWREPFLOOR -40r OSFLOOR 0p SUBOSFLOOR 0p VHOSTFLOOR -20b REDIRVHOSTFLOOR -20r FAILVHOSTFLOOR -20r USERFLOOR -50r REDIRUSERFLOOR -20r FAILUSERFLOOR -20r SEARCHQUERYFLOOR -30r SEARCHWORDFLOOR -30r INTSEARCHQUERYFLOOR -30r INTSEARCHWORDFLOOR -30r STATUSFLOOR 0r # How each report is sorted: see docs/othreps.html and docs/hierreps.html REQSORTBY REQUESTS REDIRSORTBY REQUESTS FAILSORTBY REQUESTS DOMSORTBY BYTES ORGSORTBY REQUESTS DIRSORTBY BYTES TYPESORTBY BYTES HOSTSORTBY ALPHABETICAL REDIRHOSTSORTBY REQUESTS FAILHOSTSORTBY REQUESTS REFSORTBY REQUESTS REFSITESORTBY REQUESTS REDIRREFSORTBY REQUESTS FAILREFSORTBY REQUESTS BROWREPSORTBY REQUESTS BROWSUMSORTBY REQUESTS OSSORTBY PAGES SUBOSSORTBY PAGES VHOSTSORTBY BYTES REDIRVHOSTSORTBY REQUESTS FAILVHOSTSORTBY REQUESTS USERSORTBY REQUESTS REDIRUSERSORTBY REQUESTS FAILUSERSORTBY REQUESTS SEARCHQUERYSORTBY REQUESTS SEARCHWORDSORTBY REQUESTS INTSEARCHQUERYSORTBY REQUESTS INTSEARCHWORDSORTBY REQUESTS STATUSSORTBY ALPHABETICAL # Whether and how pie charts are plotted: see docs/othreps.html REQCHART ON REDIRCHART ON FAILCHART ON TYPECHART ON SIZECHART ON PROCTIMECHART ON DIRCHART ON HOSTCHART ON REDIRHOSTCHART ON FAILHOSTCHART ON DOMCHART ON ORGCHART ON REFCHART ON REFSITECHART ON REDIRREFCHART ON FAILREFCHART ON BROWREPCHART ON BROWSUMCHART ON OSCHART ON VHOSTCHART ON REDIRVHOSTCHART ON FAILVHOSTCHART ON USERCHART ON REDIRUSERCHART ON FAILUSERCHART ON SEARCHQUERYCHART ON SEARCHWORDCHART ON INTSEARCHQUERYCHART ON INTSEARCHWORDCHART ON STATUSCHART ON # What to link to in the reports REQLINKINCLUDE pages REDIRLINKEXCLUDE * FAILLINKEXCLUDE * REFLINKINCLUDE * REDIRREFLINKINCLUDE * FAILREFLINKINCLUDE * # BASEURL http://set.by.webstats # Cosmetic commands: mostly in docs/output.html #OUTPUT HTML OUTPUT COMPUTER LANGUAGE ENGLISH # LANGFILE uk.lng # DOMAINSFILE ukdom.tab # DESCFILE ukdesc.txt HEADERFILE none FOOTERFILE none LOGO analogo.gif REPORTORDER x1QmWDdHwh4657oZSlLujJkKfsNnBbpvRMcPztiEIYyr GENSUMLINES ALL GOTOS ON RUNTIME ON DESCRIPTIONS ON REPORTSPAN OFF REPORTSPANTHRESHOLD 60 WEEKBEGINSON MONDAY LASTSEVEN ON MARKCHAR + # SEPCHAR and DECPOINT are usually taken from the language file # SEPCHAR , # DECPOINT . REPSEPCHAR none COMPSEP " " RAWBYTES OFF NOROBOTS ON SEARCHCHARCONVERT ON BARSTYLE b HTMLPAGEWIDTH 65 ASCIIPAGEWIDTH 76 MINGRAPHWIDTH 15 # The following commands are only available on some systems: see docs/dns.html DNSFILE /etc/webstats/dnscache DNSLOCKFILE /var/lock/webstats/dnslock DNS WRITE DNSGOODHOURS 100000 DNSBADHOURS 336 DNSTIMEOUT 10 # Sub-item commands: see docs/hierreps.html. Examples are # SUBDOM *.com # SUBDIR /*/*/ SUBTYPE *.gz,*.Z # A list of search engines SEARCHENGINE http://*altavista.*/* q SEARCHENGINE http://*yahoo.*/* p SEARCHENGINE http://*google.*/* q SEARCHENGINE http://*lycos.*/* query SEARCHENGINE http://*aol.*/* query SEARCHENGINE http://*excite.*/* search SEARCHENGINE http://*go2net.*/* general SEARCHENGINE http://*metacrawler.*/* general SEARCHENGINE http://*msn.*/* MT SEARCHENGINE http://*hotbot.com/* MT SEARCHENGINE http://*netscape.*/* search SEARCHENGINE http://*looksmart.*/* key SEARCHENGINE http://*infoseek.*/* qt SEARCHENGINE http://*webcrawler.*/* search,searchText SEARCHENGINE http://*goto.*/* Keywords SEARCHENGINE http://*snap.*/* keyword SEARCHENGINE http://*dogpile.*/* q SEARCHENGINE http://*askjeeves.*/* ask SEARCHENGINE http://*ask.*/* ask SEARCHENGINE http://*aj.*/* ask SEARCHENGINE http://*directhit.*/* qry SEARCHENGINE http://*alltheweb.*/* query SEARCHENGINE http://*northernlight.*/* qr SEARCHENGINE http://*nlsearch.*/* qr SEARCHENGINE http://*dmoz.*/* search SEARCHENGINE http://*newhoo.*/* search SEARCHENGINE http://*netfind.*/* query,search,s SEARCHENGINE http://*/netfind* query SEARCHENGINE http://*/pursuit query # Search engines on your own site # INTSEARCHENGINE /cgi-bin/my.cgi q # Use one of these if you are short of memory: see docs/lowmem.html FILELOWMEM 0 HOSTLOWMEM 0 BROWLOWMEM 0 REFLOWMEM 0 USERLOWMEM 0 VHOSTLOWMEM 0 # Commands for debugging SETTINGS OFF DEBUG OFF WARNINGS -LMRDF PROGRESSFREQ 0 # ERRFILE somefile ERRLINELENGTH 78 # # By Stephen Turner 1999 - 2001. No warranty for this file. # This file is given into the public domain: it may be used, modified and # redistributed without restriction.