I was attempting to get extract internal search arguments from the logs but nothing was appearing in the internal search query or internal search word reports.  
 
The log format looks like:
 
111.111.111.11 - "sesessionid=X4C2QQ1IOTDYDK0Y1UMURXQ" [10/Jan/2002:16:39:32 +0800] "GET /utilities/search.jsp?searchString=patrick HTTP/1.1" 200 951 "http://www.patrick.com.au/utilities/search.jsp?searchString=cober" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)"
 
I want the word "patrick" to appear in the int search word report.
 
The initial settings were:
 
INTSEARCHQUERY ON
INTSEARCHWORD ON
INTSEARCHQUERYFLOOR 1r
INTSEARCHWORDFLOOR 1r
   
INTSEARCHENGINE /utilities/search.jsp searchString
FILEALIAS       /utilities/search.jsp*                    search 
FILEINCLUDE  search
REQINCLUDE  search
 
However if I set FILEINCLUDE /utilities/search.jsp* and comment out REQINCLUDE the search argument reports appear.  I expected FILEALIAS to pick up GET /utilities/search.jsp?searchString=patrick and then FILEINCLUDE and REQINCLUDE to track this file through the alias "search".  Do FILEINCLUDE and REQINCLUDE translate the alias?
 
I re-read the documentation and changed the settings to:
 
INTSEARCHENGINE /utilities/search.jsp searchString
REQALIAS  /utilities/search.jsp*                    search 
 
I now get the search requests in the report but I also get the other requests which I do not want. 
 
I changed the settings to:
 
INTSEARCHENGINE /utilities/search.jsp searchString
REQALIAS  /utilities/search.jsp*                    search 
REQINCLUDE          search
 
Now I get nothing in the request report because it seems that REQINCLUDE does not translate the alias properly.  However if I use:   
 
INTSEARCHENGINE /utilities/search.jsp searchString
REQALIAS  /utilities/search.jsp*                    search 
REQINCLUDE          /utilities/search.jsp*
 
I get just the search requests in the REQ report which is exactly what I need.  The moral of the story seems to be that the *INCLUDE directives do not translate the aliases.  What I would really like to do is set the file alias once in the config file and then refer to that alias when I set any other directives.  Is this possible.  
 
I have also noticed that if I set one FILEINCLUDE or REQINCLUDE all other the other files are excluded by default from the all the reports.  Is this a correct assumption?
  
 
 

Reply via email to