Try this:
* Covert 301 request to 200 (you can "inline" the sed command using the UNCOMPRESS command<http://analog.cx/docs/logfile.html#UNCOMPRESS> if you want) * USER ON * USERALIAS proxy remote You should then get something like this: Users (Go To: Top<http://proxy.dupagels.lib.il.us/ob_proxyStats.html#Top> | Monthly Report<http://proxy.dupagels.lib.il.us/ob_proxyStats.html#month> | Remote Users | Local Users<http://proxy.dupagels.lib.il.us/ob_proxyStats.html#rediuser> | Databases Accessed<http://proxy.dupagels.lib.il.us/ob_proxyStats.html#req>) This report lists remote users who requested online resources, if users have been authenticated. Listing remote users, sorted by the number of requests. reqs user 212 remote 186 local -- Jeremy Wadsack Seven Simple Machines ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Clanton Sent: Tuesday, August 12, 2008 3:56 PM To: 'Support for analog web log analyzer' Subject: RE: [analog-help] Remote and local statistics My problem is that the REQUEST REPORT does not include the redirected logs (301). Libraries want the following information about their online databases: - How many local users are using the resources - How many remote users are using the resources - How much are the resources being used (both local and remote combined) The REQUEST REPORT does not include the local "redirected" requests. The REDIRECTED REPORT will give a total of "requests" made, but not what databases were accessed. Example: http://proxy.dupagels.lib.il.us/ob_proxyStats.html What about this idea...... What if I change the response codes in the log files from redirected to successful (301 to 200) which will give me all local and proxy requests in the REQUEST REPORT. Then if I want to differentiate between how many local requests as opposed to proxy requests, I can somhow use the first part of the log entery (proxy or local) local 66.158.45.2 - - [15/Jul/2008:18:08:00 -0600] "HEAD http://firstsearch.oclc.org/FSIP HTTP/1.1" 301 485 I don't necessarily need a graph for local and proxy users, just how many requests per the designated time period. The problem is, I'm not sure if there is a report that I can use from the first part of this log entry. My analog logformat is this: APACHELOGFORMAT (%u %h %l %w %t "%r" %s %b) APACHELOGFORMAT (%u %h %w %l %w %t "%r" %s %b) APACHELOGFORMAT (%u %w %h %w %l %w %t "%r" %s %b) I have to have the extra formats because for some reason certain log entries have extra spacing and are recognised as corrupted. Anyway, is it possible to generate a report based on the %u log variable to show local and remote usage? > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Stephen Turner > Sent: Tuesday, August 12, 2008 5:42 PM > To: Support for analog web log analyzer > Subject: Re: [analog-help] Remote and local statistics > > 2008/8/12 Brian Clanton <[EMAIL PROTECTED]>: > > > > The local logs are library patrons accessing resources from > within the > > library. Proxy requests are patrons accessing the resources from > > outside the library. > > > > I use the User Reports to show the remote patron requests total and > > the REDIRECTED USER report to show the requests total for > local users. > > > > The problem is that the proxy server (Ezproxy) redirects the local > > access requests (301) to save on bandwidth and only > "proxies" the remote requests. > > Therefore Analog only shows stats for the "successful" proxied > > requests in the other subsequent reports, namely the REQUEST REPORT. > > > > Is there a way to configure Analog to consider all requests, both > > local and proxy, as legitimate requests so the REQUEST REPORT will > > show totals for both local and remote patrons as well still have > > separate reports showing total remote requests (User > Report) and total > > local requests (REDIRECTED USER REPORT)for a given time period? > > > > I think I understand now. There is no way to treat 301 as a > success (without preprocessing the log), but you can look at > the Redirection Report which gives the same information as > the Request Report, but for redirects. > > -- > Stephen Turner > +------------------------------------------------------------- > ---------- > +- > | 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 > +------------------------------------------------------------- > ---------- > +- >
+------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------

