Analog
- Analyse the logfiles from your Apache/iX WWW server -
Freeware by © Stephen Turner
Ported to HP e3000 Platform by Andreas Schmidt
What is Analog ?
Stephen Turner's Analog is a program which analyses logfiles from WWW
servers. It works on almost any operating system. It is designed to be fast and
to produce attractive statistics. It's free software.
The official homepage of Analog will tell you more about this in great detail.
Just follow this external
link.
For MPE/iX such tools become more and more important in the HP e3000 world.
So I ported this freeware to MPE/iX and named it Analog/iX in accordance
to the other ported S/W like
Samba/iX or Apache/iX or
Ploticus/iX or Tidy/iX - for YOUR
pleasure!
Download
Two files have been prepared for a download of the compiled Analog/iX
version 5.01:
- anlg-5.01.tar.Z
- anlg-5.01d.tar.Z
The first file contains
- directory /usr/local/analog/analog-5.01/ containing
- the ported program analog,
- a base configuration file analog.cfg and
- the subdirectory lang/ containing language support files (like
German, French, Japanese, ...)
The second file contains the Web-part of the tool:
- directory htdocs/analog/ containing
- a base frameset to execute Analog/iX (top), to link the documentation
(left) and to show the actual statistics (right).
This should be modified to your needs; especially if you do not want that
everbody could actually execute Analog (top frame).
- all needed images are in images/.
- the author's original "readme" documentation in docs.
- two files in /APACHE/PUB/cgi-bin/ named analog.sh and
analog.pl.
- analog.sh is a very basic Posix script to execute Analog/iX out of
your browser, and
- analog.pl is a Perl/iX script to be executed out of a html-formular
to select some report options.
This script requires HP e3000 Perl/iX, of course.
Use this link to download the base program file (ca. 891
KB)
and
this link to download the supporting Web files (ca. 224 KB).
Installation
The installation will move Analog/iX to /usr/local/analog/analog-5.01, and the
documentation to htdocs/analog (not fully qualified!).
The installation should be performed by the Web Administrator to ensure the
right access rights.
- Ensure that your System Manager MANAGER.SYS created under /usr/local
a directory named analog/. Access should be granted and restricted to
the AM of the Web account, e.g. MGR.APACHE, mod 750, e.g.
- mkdir /usr/local/analog/
- chown MGR.APACHE:APACHE /usr/local/analog
- (optional): chmod 750 /usr/local/analog
- Logon as Web Admin (AM user).
- Download the compressed tar file(s) to your HPe3000 in binary format.
- Invoke the Posix shell (SH.HPBIN.SYS).
- Extract the program files using
tar zxvfop anlg-5.01.tar.Z
The files will be installed in /usr/local/analog/analog-5.01.
- Change the current directory to the one before htdocs/.
E.g. if you prefer to keep your Web docs under /WEB/PUB/htdocs execute a
cd /WEB/PUB
- Extract the web files using
tar zxvfop anlg-5.01d.tar.Z
The files will be installed in htdocs/analog/ and
/APACHE/PUB/cgi-bin/.
- Now adopt the /usr/local/analog/analog-5.01/analog.cfg file for your
needs.
You may add a value for LANGUAGE (if not ENGLISH, the default), and change
HOSTNAME and CHARTDIR rsp. LOCALCHARTDIR.
Especially check the values for LOGFILE and OUTFILE. These settings depend on
your Apache/iX setup. For all details on the meaning of analog.cfg parameters
see the documentation.
- Finally, you may change htdocs/analog/frame_top.html, especially if you do
not have Perl/iX or you do not want that everybody can run Analog/iX out of any
Browser.
- READY! You may leave the shell now.
- And now open your Browser with the URL http://<your HP e3000 www
server>/analog/ and you will see the default frame.
This contains:
- The header with the option to run Analog/iX now or to use a form to select
different report options.
- The left frame contains the chapters of the documentation.
- The right frame contains ... nothing! So don't be confused on the error
you'll see. This frame will be automatically filled with your actual web
statistics when you run Analog/iX the 1st time.
If you already had an older version you will see the last report created from
this version.
You may consider to block the analog/ directory with the
.htaccess security so that not all users may run an actual statistics. In
this case you should change the OUTFILE location to an unprotected place within
your HP e3000 web server so that people interested in still can see the last
available statistic.
A batch job may create every night the statistic. Chris Bartram from 3k.com
does this, and here you can see the 3k.com statistics.
Benefit for HPe3000
Why this port ?
The more HP e3000 are serving Intranets or Internets the more you need to know
what information has been requested. This tool is designed to answer this kind
of questions. The quality depends on the Apache/iX Logfile content.
Some News:
BUT
- you will need to transfer BIG Apache logfiles to your PC!
BUT
- ReportMagic's input file is small!
An example: Apache LogFiles 5,968 kb, ReportMagic Input File 16 kb
!
So the following approach will work the best:
Three other pages on this site may be of interest for you:
- A short detailed description on Web Server Log File Analysis using these
tools on your PC
See this page.
- an Analog Configurator.
See this page.
- in preparation: a ReportMagic Configurator.
Feedback
You're welcomed to send your feedback! Just use this link:
mailto:andreas@hillschmidt.de or the Feedback form. Thanks!
last changed: 29.01.2004
© 2002 Andreas
Schmidt