Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Analog: Help

Logile Format: Whitespace

 

 

Analog help RSS feed   Index | Next | Previous | View Threaded


editz_ at hotmail

Jun 24, 2009, 3:16 AM

Post #1 of 5 (628 views)
Permalink
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/


Analog07 at eircom

Jun 24, 2009, 6:30 AM

Post #2 of 5 (587 views)
Permalink
Re: Logile Format: Whitespace [In reply to]

Joe ! <editz_[at]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
+------------------------------------------------------------------------


editz_ at hotmail

Jun 24, 2009, 6:44 AM

Post #3 of 5 (588 views)
Permalink
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[at]eircom.net
> To: analog-help[at]lists.meer.net
> Subject: Re: [analog-help] Logile Format: Whitespace
> Date: Wed, 24 Jun 2009 09:30:35 -0400
>
> Joe ! <editz_[at]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/


analog07 at eircom

Jun 24, 2009, 7:27 AM

Post #4 of 5 (585 views)
Permalink
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
+------------------------------------------------------------------------


editz_ at hotmail

Jun 24, 2009, 8:57 AM

Post #5 of 5 (588 views)
Permalink
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[at]eircom.net
> To: analog-help[at]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/

Analog help RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.