Hello,

Here is a example --

for requests like

/test/test.gif?id1=123&id2=abc&a=1&b=2&c=3
/test/test.gif?id1=123&id2=abc&a=1&c=3
/test/test.gif?id1=123&id2=abc&a=1&d=2&e=3
/test/test.gif?id1=124&id2=def&a=1&b=2&c=3
/test/test.gif?id1=124&id2=def&a=1
/test/test.gif?id1=124&id2=def&a=1&b=2
/test/test.gif?id1=124&id2=ghi&a=1&b=2&c=3
/test/test.gif?b=2&c=3&id1=124&id2=ghi&a=1

I only care for "id1", "id2", and "a" parameters and
would like request report to aggregated the request
count if only those 3 parameters are same --

r,lRB,2,3,915,/test/test.gif?id1=123&id2=abc&a=1
r,lRB,2,3,915,/test/test.gif?id1=124&id2=def&a=1
r,lRB,2,2,610,/test/test.gif?id1=124&id2=ghi&a=1

Parameters with arbitrary name are being attached by
3rd party and I can't anticipate / control them --
both the name of the parameters and where it's being
attached (beginning of query?  end of query?)

Any solution within analog?  Like Jeremy suggested,
maybe I'll have to write little perl script to
pre-process the logs.

Thanks,

Joe

--- Aengus <[EMAIL PROTECTED]> wrote:

> On Wednesday, August 09, 2006 3:45 AM [EDT],
> joe park <[EMAIL PROTECTED]> wrote:
> 
> > Hello,
> >
> > Currently, I have something like this in config
> file
> >
> > FILEALIAS /test/*.gif?*&rnd=*&* 
> /test/$1.gif?$2&$4
> > FILEALIAS /test/*.gif?*&rnd=*  /test/$1.gif?$2
> > FILEALIAS /test/*.gif?rnd=*&*  /test/$1.gif?$3
> >
> > (Thanks to Aengus for this configuration)
> >
> > This will get rid of cache buster rnd values and
> > aggregate the request correctly.  However, I've
> been
> > getting requests with random parameters which I
> don't
> > have any control over.  I can't use FILEALIAS when
> > there are multiple parameters to get rid of --
> once it
> > finds first FILEALIAS that can be applied to a
> > request, it ignores rest of FILEALIAS
> configuration.
> > Plus, I cannot anticipate all possible parameters
> that
> > might come in.
> >
> > Is there any way to specify parameters I want when
> it
> > aggregates data?
> 
> I'm not sure I understand the problem. Can you post
> a couple of example log 
> entries that demonstrate the problem?
> 
> 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
>
+------------------------------------------------------------------------
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------

Reply via email to