Stephen Turner wrote:
> On Thu, 18 Feb 1999, Wallace Nicoll wrote:
>
> > In an earlier posting to the list I asked if anyone had run analog against MSproxy
> > logs thinking that there was something in the log formats that was causing a huge
> > number of corrupt lines. It now turns out it was the result of embedded commas in
> > the URL. By changing these to another character (runnning the log files through a
> > sed script under UNIX) I can analog the logfiles and only get a handful of corrupt
> > lines each day (20Mb logfiles).
> >
> > Am I right in thinking that this could cause the problem?
>
> Are the fields normally separated with commas? If so, that is exactly the
> problem. Analog doesn't know where the field stops.
>
> There's another thread on this subject going on right at the minute, called
> Corrupt Log File Entries. Have a look at that for more discussion. (If you
> missed the postings, they're archived at www.mail-archive.com).
Yes, but the fields are comma-space separated. The sed script replaces all comma-space
with ZZZZ, changes all remaining commas to dot, and finally replaces the ZZZZ with
comma-space. That seems to be OK. The LOGFORMAT line in the cfg file has comma-space
between the various data and junk fields though, so I assumed it would be able to cope
with commas embedded in the URL.
It was the other thread that reminded me I needed to post the answer to my earlier
request.
W.
--
======================================================================
Wallace Nicoll [EMAIL PROTECTED]
City of Edinburgh Council IT Services,
Chesser House, 500 Gorgie Road, Phone : 0131 469 5343
Edinburgh, EH11 3YJ, Scotland Fax : 0131 469 5335
======================================================================
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------