[ Top | Up | Prev | Next | Map | Index ]

Analog 6.0: What was new in version 5?


This section lists the new features which were in version 5 of analog.
What's new in version 6?
5.32 (23-Mar-03)
Recognises Safari and Camino browsers.
New LOGFORMAT specification %D (processing time in microseconds).
Understands %A and %D in APACHELOGFORMAT.
5.31 (11-Jan-03)
Recognises Phoenix and Chimera browsers.
Fixes for Mac, OpenVMS and RISC OS ports.
Various other small bug fixes.
5.30 (30-Nov-02)
Reads gzipped logfiles without the need for an UNCOMPRESS command.
Host inclusions and exclusions can now use IP address ranges and subnet masks.
New command BYTESDP command to list kilobytes etc. to a chosen number of decimal places. The default number of decimal places has changed from three to two.
New code for RISC OS port, including wildcards in filenames. (Thanks to Stefan Bellon for this code).
Various bug fixes.
Indonesian and Slovak language files.
New How-To entitled Getting started under Windows. (Thanks to Simon Handfield).
5.24 (25-Jun-02)
Recognises Netscape 7 browser. Also better diagnosis of Windows operating systems for Netscape and Mozilla browsers.
New version of IIS How-To.
Later UNCOMPRESS commands now correctly override earlier ones.
SEARCHCHARCONVERT can now be turned on for multibyte character sets, though it's not recommended.
French report descriptions files.
New versions of Polish and alternative Swedish language files.
East Timor country code is now .tl.
5.23 (14-May-02)
Added PROGRESSFREQ to the list of forbidden commands from the form interface, because it allows a denial-of-service attack.
Also emphasised in the documentation that allowing untrusted users to run analog through the form interface is inherently open to a denial-of-service attack.
Fixed two bugs which caused occasional crashes while outputting.
Russian language files included (KOI8-R and Windows-1251 character sets).
Added new domains to the French domains files.
New How-To on configuring IIS.
5.22 (20-Mar-02)
Security fix for cross-site scripting security bug.
Upgraded zlib code to version 1.1.4 (although analog wasn't vulnerable to the security bug in zlib 1.1.3).
The PROGRESSFREQ messages now go to the screen as well as to the ERRFILE.
The second argument to SUBDOMAIN can now contain *'s and $'s.
Added eight new domains to many of the domains files.
Revised Japanese language files.
5.21 (20-Feb-02)
Corrected the MacHTTP log format, which didn't work in 5.2.
All the BARSTYLEs redrawn, and two new BARSTYLEs added, adapted from an idea by Dave Holle. (You will have to move the new graphics into your IMAGEDIR in order to use them.)
5.2 (13-Feb-02)
You can now plot the lower levels of hierarchical reports on the pie charts by using the new CHARTEXPAND family of commands.
Added MACHTTP to the list of built-in log formats that analog recognises automatically.
Recognises ; as well as & as query-string separator.
The rules for generating "organisations" from numerical addresses have changed.
Filenames given on the command line are now relative to the current directory, not the analog directory.
Ignores completely blank lines at the top of a logfile.
Makefiles for Microsoft Visual C++ can be found in the new src/build directory. Makefiles for other platforms have moved out of the source tree into there too.
You can now refer to kilobytes as kibibytes by editing your language file.
Revised versions of Japanese language files.
Revised the Licence.
Advertised new donations page.
5.1 (07-Nov-01)
The Browser Summary now recognises the Konqueror and Galeon browsers, and distinguishes Mozilla and Netscape. (If you are using a configuration file from an older version of analog, you need to remove one line.)
The Operating System Report now recognises Windows XP.
Numerical addresses are now included in the Organisation Report.
Logfile and cache file names can now contain date codes, in the same way as the OUTFILE.
The person setting up the form interface can now specify a list of allowed commands, rather than a list of forbidden commands.
The LATEX output style now works with the ISO-Latin-2 character set as well as ISO-Latin-1. New command PDFLATEX.
New LOGFORMAT token %Z for two- or four-digit years.
In the COMPSEP, you can now use \t to represent a tab.
New warnings category G; some warnings reclassified.
Various small bugs fixed. Also there is some rewriting internally, but it should be transparent to the user.
The Windows executable has been compiled using MinGW instead of Microsoft Visual C++.
Finnish translation, and corrections to German and Serbian. Brazilian Portuguese report descriptions files.
5.03 (07-Jul-01)
Bug fixes, including one bug that caused a crash under Windows.
Spanish translation, and corrections to SWEDISH-ALT translation.
5.02 (23-Jun-01)
Understands the new IIS log format with four-digit years.
Traditional Chinese and Brazilian Portuguese language files.
Japanese is now available in four character sets.
Four language files which were already distributed with the program are now available through the LANGUAGE command: BULGARIAN-MIK (MIK-16 charset), CZECH-1250 and SLOVENE-1250 (Windows-1250), and SWEDISH-ALT (alternative translation avoiding Anglicisms).
5.01 (19-May-01)
New command PNGIMAGES.
New token "PLAIN:" in ALIAS commands.
Unix man page included in source distribution.
New example configuration file examples/bigbyrep.cfg.
A few small bug fixes.
Italian report descriptions files; corrections to German language files.
5.0 (01-May-01)
How-To's introduced.
Wildcards now allowed in LOGFILE names from the form interface.
UNCOMPRESS now works on filenames with spaces in, and other small bug fixes.
Makefiles and build scripts for OpenVMS.
This version is available in 24 languages: Armenian, Bulgarian, Catalan, Czech, Danish, Dutch, English, US English, French, German, Hungarian, Italian, Japanese, Korean, Latvian, Norwegian (Bokmål & Nynorsk), Polish, Portuguese, Serbian, Slovene, Swedish, Turkish and Ukrainian.
4.91beta1 (10-Apr-01)
Output EXCLUDEs are now more fully excluded, producing significant changes in results.
New JPEGCHARTS command (only available if you compile analog yourself, with your own libgd).
New mailing list instructions to include subscriptions over the web, and the digest version of the analog-help list.
Mac version decompresses pkzip and bzip2 logfiles.
Pusing name="OUTPUTALIAS">There is another set of alias commands, called output aliases. They don't alias items, but individual lines from particular reports (and they never combine lines, even if two lines end up with the same name). For example, the command
TYPEALIAS .txt ".txt (Plain text files)"
would provide an explanation of that line in the File Type Report.

There can be some confusion between some normal alias and output alias commands. For example, what is the difference between FILEALIAS and REQALIAS? In fact, there are several differences because of the different things the aliases are doing. FILEALIAS applies to the files themselves, but REQALIAS only applies to the lines in the Request Report. This means that FILEALIAS also affects the other reports which use the filenames, such as the Directory Report, whereas REQALIAS only affects the Request Report.

Another difference is that REQALIAS applies separately to each line of the Request Report. This means that if two separate files translate to the same thing in a FILEALIAS command, they will become one file for all the reports. But if you were to use the same REQALIAS command, they would still be two files, and would still be listed on separate lines in the Request Report, but with the same name.

So in summary, when should you use each command? FILEALIAS should be used if a single file has two different names; i.e., if your web server returns the same file for two different URLs. REQALIAS, on the other hand, would typically be used to annotate or clarify the Request Report. Sometimes it's useful to use both; first combine some files with FILEALIAS, and then annotate them in the Request Report with REQALIAS.

The full list of output aliases is REQALIAS, REDIRALIAS, FAILALIAS, TYPEALIAS, DIRALIAS, HOSTREPALIAS, REDIRHOSTALIAS, FAILHOSTALIAS, DOMALIAS, ORGALIAS, REFREPALIAS, REFSITEALIAS, REDIRREFALIAS, FAILREFALIAS, BROWREPALIAS, BROWSUMALIAS, OSALIAS, VHOSTREPALIAS, REDIRVHOSTREPALIAS, FAILVHOSTREPALIAS, USERREPALIAS, REDIRUSERALIAS and FAILUSERALIAS.

There is one known bug with the output aliases. The report is sorted before the alias is applied. This means that if the SORTBY for the report is set to ALPHABETICAL, then the report will not be sorted correctly.


You can also use regular expressions in the ALIAS commands. Sorry, I'm not going to teach you how to use regular expressions here if you don't already know: if you're on Unix try typing man perlre or man regex or man grep. There are lots of implementations of regular expressions. The ones which analog uses are Perl-syntax regular expressions. In general, these are a superset of the extended regular expressions used by Unix egrep or GNU grep -E.

You include regular expressions in an ALIAS command by prefixing the left-hand side of the alias with "REGEXP:". Or you can specify a case-insensitive match, like Perl m//i or Unix egrep -i, by using "REGEXPI:". (It's automatically case-insensitive for many items, such as hostnames, or filenames if you have specified CASE INSENSITIVE.)

On the right-hand side of the alias you can use $1, $2 etc. to represent the first, second etc. bracketed expression on the left-hand side, counting in order of the left brackets. (Again, you can't put $1, $2 etc. on the command line unless you put them in single quotes.)

Regular expressions match if they match just part of the string. If you want them to have to match the whole of the string, you have to anchor them to the ends of the string with ^ and $.

For example,

REQALIAS REGEXP:^(/~(.+?)/.*) "[$2] $1"
would translate
/~sret1/backgammon/rules.html
to
[sret1] /~sret1/backgammon/rules.html
in the Request Report. Or
HOSTALIAS REGEXP:^([^.]*)$ $1.mycompany.com
would add .mycompany.com to all hostnames not containing a dot. (See the FAQ for a discussion about whether this is a good idea.)

Regular expressions are greedy: if there are two possible ways of matching, the part of the expression on the left matches as much as possible.


Go to the analog home page.

Stephen Turner
19 December 2004

Need help with analog? Use the analog-help mailing list.

[ Top | Up | Prev | Next | Map | Index ] ./usr/share/doc/analog/docs/wasnew5.html0000644000000000000000000004043310161303532017037 0ustar rootroot Readme for analog -- what was new in version 5? [