Analog is an "old-school" log file analyzer. It was written by Stephen Turner and released as freeware on June 21, 1995, but the license was changed in November 2004 to the GNU General Public License. Stephen wrote Analog while studying for his PhD at the University of Cambridge.
Versions existed for Windows, macOS, Linux, and most Unix-like operating systems but in December 2004, after releasing version 6 of the program, Stephen ceased work on it. The original website, www.analog.cx (Internet Archive), was last updated in 2005 and disappeared in August 2014, but there are mirrors of it still around such as the one at reverse.net and the one at web42.com.
In 2007, as a long-term user of Analog C:Amie revived it and produced an updated version of Analog, Analog CE, with the full download, along with the help files, examples and source code on GitHub. This is this version of Analog that I use.
Analog is a simple program consisting of a single Windows EXE file that requires no installation along with a CSS, configuration, image, and language files that requires no installation apart from creating the folders that hold them. It can be run directly from the command line which makes it particularly easy to add to Windows Tak Scheduler.
The only thing I forgot to do when setting it up was to copy the images folder, which also includes a CSS file, to the directory that contains the output statistics page.
Analog installation folder along with the configuration files
The images folder must also be copied to the folder that contains Analog's output files
At some point I have to read all the documentation and configure Analog properly, but it is very easy to get a basic output from the program. All the standard configuration file needs is which Apache log file to read and where to put the output. This is part of my analog-brisray.cfg file:
HOSTNAME "for brisray"
It looks like this because I split the Apache log file into monthly files. run-analog.bat is the batch file that actually runs Analog and tells it which configuration files to use. I have three websites, and an Analog configuration file for each of them. The batch file is simply:
analog +ganalog-brisray.cfg -G
analog +ganalog-gambia.cfg -G
analog +ganalog-offroad.cfg -G
It simply changes to the Analog directory while the configuration files to use are between the +g and -G delimiters. Using a single batch file to run all three sites mens it is simple to set up the batch file in Windows Task Scheduler. Instructions on how to do that can be found on the mirror sites such as reverse.net or web42.com.
It may be that I have not read the help pages deeply enough yet but Analog has to read all the Apache log files a report is needed for every time it is run. It appears that it cannot, for example, run last month's log files and simply append this month's log file results to what it already has.
My web server, "The Server in the Cellar", is a 2016 Dell Inspiron 3847 desktop running Windows 10 with an Intel i5-4460 @ 3.2GHz CPU, a 1Tb SSD, and 16Gb RAM. I have log files going to back to January 2016. In February 2023, I noticed that for the site with the most traffic, this one, the output from Analog was not being completed properly. A little bit of troubleshooting showed the reason why - the machine was running out of memory while processing the log files for it.
The simplest solution was to run Analog on the log files from January 2016 to December 2021 and output that to a new folder, not forgetting that folder needed a copy of the images folder. Analog was run again in a similar way to output the statistics from 2017 to 2022.
I have decided to make the statistics obtained from my web logs public. The logs are subject to referer spam, so if the referring site in these analytics pages looks suspicious, it probably is.
Analog CE Statistics (2018 - present)
Analog CE Statistics (2017 - 2022)
Analog CE Statistics (2016 - 2021)
Analog described itself as "The most popular logfile analyzer in the world". It's difficult to argue with that because in October and November 1998, Georgia Tech's Graphic, Visualization, & Usability Center (GVU) found that Analog was used by 24.9% of those surveyed. Web Trends came second with 20.3% of the market. If you are interested, the original datasets can be found on the Internet Archive.
Unless it was changed, Analog's statistics pages always start with "Web Server Statistics for". A search of that phrase in Google or Bing brings up thousands of pages, some dating back to the original 1995 version of Analog and many using Report Magic.
Sources and Resources
Analog.cx (Internet Archive) - the first site
Analog.cx (Internet Archive) - the final site
Analog Documentation - this site has archives of the original Analog documentation from version 0.9 Beta 3 to version 6
Analog Help - The email listings from 2005 to 2009
C:Amie (not) Com! - The home of Analog CE
Comparison table of the features offered by Analog, AWStats, and Webalizer
Trucksess - How Chris Trucksess edited his Analog configuration files to simplify the analytics page
On the Analog mirrors, the helper programs are in the base directory/helpers folder. Since the pages were written some of the helper program sites have disappeared. This list gives the Internet Archive of the last version I could find for them.
A-Soft Analog Shell
SEARCHENGINE commands http://www.science.co.il and http://mba.vanderbilt.edu/
Mirror Sites - Original Files
Not surprisingly, the list of mirror sites found on places such as reverse.net and at web42.com is getting shorter. Of the list of 40 listed on those pages, which appear to have been written in November 2004, there are just five left in April 2023. Although that is quite a drop, for a 20 year old program that is quite a feat.
North America - Illinois | Maryland | Pennsylvania
Europe - East - Hungary | Poland
This page created April 21, 2023; last modified April 25, 2023