Mailing List Archive

Logile Format: Whitespace
I'm not sure what the white space between the fields in my logfile is - spaces or tabs perhaps?

Should I be separating the %x with commas or a single white space?

My report is displaying 0 successful requests.

Thanks.


_________________________________________________________________

MSN straight to your mobile - news, entertainment, videos and more.

http://clk.atdmt.com/UKM/go/147991039/direct/01/
Re: Logile Format: Whitespace [ In reply to ]
Joe ! <editz_@hotmail.com> wrote:
> I'm not sure what the white space between the fields in my logfile is
> - spaces or tabs perhaps?
>
> Should I be separating the %x with commas or a single white space?
>
> My report is displaying 0 successful requests.

%w will cover any whitespace, whether it's a tab or a space (or multiple spaces). It makes it harder to read the LOGFORMAT, but it should work for you.

for example: %S%w[%d/%M/%Y:%h:%n:%j]%w"%j%w%r%w%j"

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
+------------------------------------------------------------------------
RE: Logile Format: Whitespace [ In reply to ]
Thanks.

Any idea how I can write a logformat for this:
2009-06-24 05:18:53 0.0050 123.456.78.89 - 200 GET /webct/checkStatusForLb - 186 guest:0:1

I can't even get one row out!

> From: Analog07@eircom.net
> To: analog-help@lists.meer.net
> Subject: Re: [analog-help] Logile Format: Whitespace
> Date: Wed, 24 Jun 2009 09:30:35 -0400
>
> Joe ! <editz_@hotmail.com> wrote:
> > I'm not sure what the white space between the fields in my logfile is
> > - spaces or tabs perhaps?
> >
> > Should I be separating the %x with commas or a single white space?
> >
> > My report is displaying 0 successful requests.
>
> %w will cover any whitespace, whether it's a tab or a space (or multiple spaces). It makes it harder to read the LOGFORMAT, but it should work for you.
>
> for example: %S%w[%d/%M/%Y:%h:%n:%j]%w"%j%w%r%w%j"
>
> 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
> +------------------------------------------------------------------------

_________________________________________________________________
Share your photos with Windows Live Photos – Free.
http://clk.atdmt.com/UKM/go/134665338/direct/01/
Re: Logile Format: Whitespace [ In reply to ]
On 6/24/2009 9:44 AM, Joe ! wrote:
> Thanks.
>
> Any idea how I can write a logformat for this:
> 2009-06-24 05:18:53 0.0050 123.456.78.89 - 200 GET
> /webct/checkStatusForLb - 186 guest:0:1

Pretty much the same as it was this time last year:
http://lists.meer.net/pipermail/analog-help/2008-June/021101.html

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
+------------------------------------------------------------------------
RE: Logile Format: Whitespace [ In reply to ]
Sorry about that! I must have missed it.

Thank you.

> Date: Wed, 24 Jun 2009 10:27:33 -0400
> From: analog07@eircom.net
> To: analog-help@lists.meer.net
> Subject: Re: [analog-help] Logile Format: Whitespace
>
> On 6/24/2009 9:44 AM, Joe ! wrote:
> > Thanks.
> >
> > Any idea how I can write a logformat for this:
> > 2009-06-24 05:18:53 0.0050 123.456.78.89 - 200 GET
> > /webct/checkStatusForLb - 186 guest:0:1
>
> Pretty much the same as it was this time last year:
> http://lists.meer.net/pipermail/analog-help/2008-June/021101.html
>
> 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
> +------------------------------------------------------------------------

_________________________________________________________________
Get the best of MSN on your mobile
http://clk.atdmt.com/UKM/go/147991039/direct/01/