"Drew, Bill" wrote:
> I am using analog to analyze EZproxy log files. What do I need to do to get
> a more readable output for long names in the file column like:
>
> http://www.morrisville.edu:2048/login?url=http://infotrac.galegroup.com/itwe
> b/morrisville
>
> I would prefer something like
> EZproxy/infotrac.galegroup.com/itweb/morrisville
>
> or EZproxy/ITWEB
>
> Any way to do this?
Use REQOUTPUTALIAS, as described in docs/alias.html. You probably want to use a
Regular Expression, like
REQOUTPUTALIAS REGEXP:^.*:2048/login[^/]+//(.+)$ "EZproxy/$1"
for the former, or for the latter (without the case change),
REQOUTPUTALIAS REGEXP:^.*:2048/login[^/]+//[^/]+/([^/]+) "EZproxy/$1"
(Of course these both make some assumptions about the kind of data your have in
your logs and you may need to modify them a bit.)
HTH,
Jeremy Wadsack
Wadsack-Allen Digital Group
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------