On Monday, March 13, 2006 4:41 PM [EDT],
Joe Park <[EMAIL PROTECTED]> wrote:

> Hello,
>
> I'm trying to generate request report on impression images which has
> various argument (for id purposes).  In logs, it shows like this
>
> /image/test.gif?a=1,b=100,rand=104197304602179020
>
> I did ARGSINCLUDE on test.gif file and REQARGSFLOOR set to 1r.  Analog
> processes the log file correctly and generate something like
>
> r,lR,1,7,/image/test.gif
> r,lR,2,1,/image/test.gif?a=1&b=50&c=1&rnd=104197304602179020
> r,lR,2,1,/image/test.gif?a=1&b=50&c=1&rnd=114489900401293470
> r,lR,2,1,/image/test.gif?a=1&b=100&c=1&rnd=117470756534648830
> r,lR,2,1,/image/test.gif?a=1&b=100&c=1&rnd=146940554434753660
> r,lR,2,1,/image/test.gif?a=1&b=100&c=1&rnd=148029423412225800
> r,lR,2,1,/image/test.gif?a=2&b=50&c=1&rnd=245703217452240060
> r,lR,2,1,/image/test.gif?a=2&b=50&c=1&rnd=258577363011527900
>
> Is there any way to exclude 1 argument, "rnd"?  I want analog to
> generate something like
>
> r,lR,1,7,/image/test.gif
> r,lR,2,2,/image/test.gif?a=1&b=50&c=1
> r,lR,2,3,/image/test.gif?a=1&b=100&c=1
> r,lR,2,2,/image/test.gif?a=2&b=50&c=1
>
> Tried different options, but it looks like it's all or nothing
> configuration for ARGSINCLUDE.  I can't use INTSEARCHQUERY or
> INTSEARCHWORD report either -- it will only give you report on 1 of
> the query argument, not combination of multiple argument.
>
> If nothing works, I guess I would have to preprocess it  -- use sed to
> get rid of rnd query string -- but I would like to avoid this if
> possible.

You could try a FILEALIAS

FILEALIAS /image/test.gif?*&rnd=* /image/test.gif?$1

That will work if rnd is always the last parameter. If it's not, try  this
set of FILEALIASes (the order is important)

FILEALIAS /image/test.gif?*&rnd=*&* /image/test.gif?$1&$3
FILEALIAS /image/test.gif?*&rnd=* /image/test.gif?$1
FILEALIAS /image/test.gif?rnd=*&* /image/test.gif?$2

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
+------------------------------------------------------------------------

Reply via email to