Rich Dempsey ([EMAIL PROTECTED]):
> Thanks for the quick reply, Jeremy. I had the impression that
> FILEALIAS would not be applied until after Analog had built the
> sort order and also after it had built the file extension report.
Analog applies the FILEALIAS after it has determined that the chunk of
data is a 'FILE' and before it puts it into the 'FILE' table. That way
all FILEALIASed items that end up with the same name only increment
the count of the item rather than adding new entries into the table.
Sort order is done at report creation time. I'm fairly certain that
the File Type report is built from post-aliased requests, but I
haven't tested that specifically (that I recall).
> WRT to the Perl one-liner below, I think we have a bit of an problem
> here around handling multiple compressed log files (we have several
> different boxes running Apache for HA, so we have several log files
> per day). I was hoping that one could specify a preprocessor
> command in Analog's config file that would allow us to continue to
> manage the many log files out of the config file.
You could start a new instance of Analog against each munged file and
make a cache file of the results. Then produce your daily, weekly,
monthly reports from the cache files.
Analog's only external processing command is 'UNCOMPRESS.' This could
be used to preprocess the log files by making a more complicated
command. e.g.
UNCOMPRESS *.gz (gzip -cd | perl -pe 's/;[j\$]sessionid[=\$][^\?]+//')
This would uncompress the file, pipe it to the Perl one-liner and
Analog would pick up the results.
--
Jeremy Wadsack
Wadsack-Allen Digital Group
+------------------------------------------------------------------------
| This is the analog-help mailing list. To unsubscribe from this
| mailing list, go to
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| List archives are available at
| http://www.mail-archive.com/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
| http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------