Re: Analog Request Report Query

Aengus <[email protected]> Wed, 15 Apr 2009 07:12:39 -0400
Newsgroups gmane.comp.web.analog.general
Message-ID <[email protected]>
On 4/15/2009 4:14 AM, Alok Chugh wrote:

> I was facing one problem with it and did not meet with much success after 
> searching thru forum. Would be great if you are able to help out. In the 
> Request report I see that certain URLs are probably being considered parent 
> URLs and the no of hits reported for them are actually the total of URIs under 
> it. e.g. in my report the numbers for a URI /web/oscportal.portal are very 
> high and around the total of different URLs like "/web/oscportal.portal?
> site=personal", "/web/oscportal.portal?_nfpb=true&_pageLabel=linkaccounts" 
> etc. (Also all the childs are grouped in a different colour). 
> 
> Is /web/oscportal.portal being considered the parent URL? 

Yes.

> Can I calculate the individual no of hits for /web/oscportal.portal only if I 
> want to? 
> What configuration change I would have to make in analog for that?

There doesn't seem to be a separate entry for the request itself, 
without arguments - you can see this for yourself by creating a short 
log file with only 5 or 6 entries and adding these commands to your 
analog.cfg:
REQFLOOR 1r
REQARGSFLOOR 1r

There may be another way of doing getting a count for requests without 
arguments, but one way is to use FILEALIAS so that the ? separating the 
arguments isn't recognized - in that case all of the ocsportal.portal 
requests will be listed seperately
FILEALIAS /web/oscportal.portal?* /web/oscportal.portal&$1

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