Gary,

    A simple idea that might be useful if you're on a UNIX box.
End-of-line is easily recognized by 'sed' in text substitutions.
If the completion status always appears at the end-of-line, you
could use 'sed' to convert the completion status to information
that analog does use (e.g., convert 'c' to '200' and 'i' to '404').
An analog wizard might have a better solution, though.

-- Duke Hillard, Webmaster, UL Lafayette


Gary Kliethermes wrote:

> Hello, I'm using Analog 4.11 to analyze the logs from an anonymous FTP
> server.  The FTP server (WU-FTP) uses the standard xferlog format.  I'm using
> the xferlog format as given in the /examples directory, which is: LOGFORMAT
> (%j %M %d %h:%n:%j %Y %t %S %b %r %j %j o %j %u ftp %j %j)
> LOGFORMAT (%j %j %j %j %j %j %j %j %j %j %j i%j) According to the docs on
> WU-FTP, the xferlog format consists of:current-time   transfer-time
> remote-host   file-size   filename   transfer-type   special-action-flag
> direction   access-mode   username   service-name   authentication-method
> authenticated-user-id   completion-status Analog is working fine with the
> above LOGFORMAT except that it doesn't use the "completion-status" field.  The
> completion-status that's logged is either an "i" (incomplete) or a "c"
> (complete) which indicates if the requested file was successfully
> transferred. Here are a couple of examples from the xferlog file. Mon Oct 23
> 02:01:36 2000 344 someone.aol.com 1769585
> /home/audiotrack/ftp//activatedaudio.exe b _ o a IEUser@ ftp 0 * c
> Mon Oct 23 02:02:55 2000 243 someone.aol.com 73728
> /home/audiotrack/ftp//TerrisGarden_ActivatedAudio.mp3 b _ o a IEUser@ ftp 0 *
> i The first line shows a successful transfer, while the second is a transfer
> that was incomplete for whatever reason.I need some way to determine the
> number of successful transfers.  Since the info I need is in the logfile there
> should be a way to use it, but I haven't found a way using Analog. Can Analog
> do this?  If not, does anyone know of any other reporting program that
> can? Thanks, [EMAIL PROTECTED] The Web Depot, Inc.
> http://www.thewebdepot.com
begin:vcard 
n:Hillard;Duke
tel;work:337-482-5763
x-mozilla-html:TRUE
url:http://www.louisiana.edu/
org:University of Louisiana at Lafayette;University Computing Support Services
adr:;;P.O. Box 42770;Lafayette;LA;70504-2770;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Computing Resources Coordinator
fn:Duke Hillard
end:vcard

Reply via email to