On 9/3/00 6:51 AM Michael Janich ([EMAIL PROTECTED]) wrote:

>I'm generating a log report using java servlets [no byte count, since
>unknown], which lines look like
>
>210.177.77.1 - oooo [Fri Aug 18 16:06:59 CST 2000] "GET
>/servlet/com.rawmart.Browse?show=nothing&display=profile&profile=preferences
>HTTP/1.0" 200 -
>
>and I like to get statistics on the use of let's say "show=" parameter.
>The lines:
>
>LOGFORMAT (%s - %u [%j %M %d %h:%n:%j %j %Y] "%j %r %j" %c -)
>ARGSINCLUDE /servlet/com.*
>SEARCHENGINE /servlet/com.rawmart.Browse* level
>SEARCHENGINE /servlet/com.rawmart.Browse id
>SEARCHENGINE *Browse* lang
>SEARCHENGINE *Browse search
>SEARCHENGINE *Browse display
>SEARCHENGINE *Browse show
>SEARCHENGINE http://* level
>SEARCHENGINE * action
>
>Doesn't do anything. I always get:
>
>./analog: Warning R: Turning off empty Search Query Report
>./analog: Warning R: Turning off empty Search Word Report
>
>I've debugged the programme: it seems never to call any of Nnextname()
>or nnextname()
>functions. It calls checksearchrep() with NULL as first parameter twice.

The SEARCHENGINE command applies to the referrer field, not the request 
field. In theory you could get it to work by changing the log format to 
treat that field as the referrer, but I'm not sure how Analog would 
handle the lack of "http://" and a domain name.

Jason

-----------------
[EMAIL PROTECTED]
-----------------
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


------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to