RE: Remote and local statistics

"Brian Clanton" <[email protected]>
Newsgroups gmane.comp.web.analog.general
Message-ID <[email protected]>
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
+------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.