[analog-help] help on LOGFORMAT for Serv-U
diving-sandman at gmx.net
diving-sandman at gmx.net
Fri Apr 20 16:15:54 PDT 2007
Hi all,
got rid of the asterix and now it looks like this:
FILEALIAS " successfully " %1
works just fine for me. Whenever there is a directory or a file name with spaces, this is reported now as ".zip successfully" or ".exe successfully" or whatever the file extension is.
Unless someone has a brilliant idea, this is ok with me.
Now I have got another problem:
Any insight on how to handle brackets in the filename in the SERV-U logfile?
[3] Fri 20Apr07 17:13:58 - (000018) Sent file e:\meeting minutes\jbl\20070402-jbl_(extended report on weekly meeting).doc successfully (58.1 kB/sec - 2446368 Bytes)
Regards
Heiko
-------- Original-Nachricht --------
Datum: Thu, 19 Apr 2007 12:50:00 -0400
Von: "Aengus" <analog07 at eircom.net>
An: "Support for analog web log analyzer" <analog-help at lists.meer.net>
Betreff: Re: [analog-help] help on LOGFORMAT for Serv-U
> diving-sandman at gmx.net wrote:
> > Hi folks,
> >
> > I want to analyze my SERV-U FTP logfile. Unfortunately, I have file
> > names or directories with spaces on the server and these files do not
> > get reported.
> >
> > Can someone please tell me how to do it right?!
> >
> > Current logformat goes like this:
> >
> > LOGFORMAT "[%j] %j %d%M%y %h:%n:%j - (%j) Sent file %r successfully
>
> That tells Analog that the requested file (%r) ends when Analog
> encounters a space. That means that filenames with a space end where the
> space occurs, and the rest of the line no longer matches your logformat,
> so the line is considered corrupt.
>
> If you can't change the server to properly delimit the entries in the
> logfile, then you might be better off with a LOGFORMAT like:
>
> [%j] %j %d%M%y %h:%n:%j - (%j) Sent file %r(%j kB/sec - %b Bytes)
>
> This will include the " successfully " in the filename, which you should
> be able to get rid of with a FILEALIAS command:
>
> FILEALIAS "* successfully " %1
>
> > Error.txt shows me lines like the ones below, that could not be
> > processed:
> >
> > [4] Tue 03Apr07 13:15:00 - (000101) Received file
> > d:\ftproot\privat\software\via hyperion\via_hyperionpro_v510a.zip
> > successfully (386 kB/sec - 7795214 Bytes) [4] Wed 11Apr07 22:55:43 -
> > (000013) Received file
> > d:\ftproot\privat\software\altiris\applications\firefox 2.0.2.vsa
> > successfully (260 kB/sec - 35297153 Bytes) [3] Sat 14Apr07 21:53:45 -
> > (000039) Sent file
> > d:\ftproot\privat\software\altiris\applications\the gimp.vsa
> > successfully (80.9 kB/sec - 25328286 Bytes) [3] Sun 15Apr07 00:58:37
> > - (000073) Sent file d:\wwwroot\200102_thailand\images\tauchbild film
> > iv.jpg successfully (169 kB/sec - 87996 Bytes)
>
> Weird - when I try to run Analog against these lines, with my suggested
> change to the LOGFORMAT, Analog tells me that I have successful
> requests, but it won't generate a request Report, so I can't verify that
> my ALIAS command works.
>
> Aengus
>
>
>
> +------------------------------------------------------------------------
> | TO UNSUBSCRIBE from this list:
> | http://lists.meer.net/mailman/listinfo/analog-help
> |
> | Analog Documentation: http://analog.cx/docs/Readme.html
> | List archives: http://www.analog.cx/docs/mailing.html#listarchives
> | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
> +------------------------------------------------------------------------
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
More information about the analog-help
mailing list