Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Summary-Talk] alias/reporting bug?



Hi Jason,

Well, you're partially right.  I was using Global Aliases at first.
I moved my two aliases to the subreport that has the added query tag,
and I'm still seeing the same behavior...  The last character of the
url is getting truncated in the page-related reports.

The two aliases in my subreport are:
'(.*)\?did=([0-9]+) --> $1?id=$2
'(.*)\?did=([0-9]+)&id=([0-9]+) --> $1?id=$2,$3

test1 in: /downloads.php?did=144
test1 out: /downloads.php?id=144
test2 in: /downloads.php?did=144&id=434
test2 out: /downloads.php?id=144,434

Requests report:
/downloads.php?id=14

If I turn on "Include query string in requests", I can see what I'm
looking for (and then some).  If this option was configurable per
subreport, I would be home free.  If the above doesn't work out, I
suppose I could wade through all my vhosts that have sessionid/
cachebuster strings and use aliases to mask them out, allowing me to
turn the query string on globally without having Summary blow up.  Is
there any chance of "include query string in requests" ever being
configurable per subreport (I have SP Lite 2.6.8 now)?

Do you need a sample log file to test this against?  I would be happy
to help diagnose this problem further if you need more info.

Thanks,

Dale

On Mar 28, 2006, at 6:23 PM, Jason Linhart wrote:

> I suspect that you are trying to use a global alias, which won't do
> quite what you appear to expect when used in combination with  
> "Query tag
> to include in request". If you had been using "Include query string in
> requests" then a global alias would have worked.
>
> The key to your problem is to understand the order of events. All  
> of the
> global configuration settings are applied first and per-sub-report
> settings happen second. The complete sequence is as follows:
>
> Global
> 	Include query string in requests
> 	Global filtering and date ranges
> 	Global aliases
> Sub-report
> 	Sub-report filtering and date ranges
> 	Remove N directory names
> 	Query tag to include in request
> 	Sub-report aliases
>
> Since you are using "Query tag to include in request", which is a
> sub-report configuration setting, you need to use a sub-report  
> specific
> alias. Otherwise "Query tag to include in request" won't have been
> applied yet and you won't be able to change anything after the  
> question
> mark.
>
> Good Luck
> Jason
>
>
> Dale LaFountain wrote:
>>
>> I'm trying to remap a cgi argument for one of my vhosts, and I'm
>> having some trouble with the resulting reports.
>
> -- 
> Jason@Summary.Net
> --
> Dr. Seuss books . . . can be read and enjoyed on several levels. For
> example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
> as a searing indictment of the narrow-minded binary counting system.
>     -- Peter van der Linden, Expert C Programming, Deep C Secrets
-------------
Go to <http://summary.net/list.html> to update subscription info.