[Geoserver-users] WMS map usage statistics in geoserver ?



Hi,







Does geoserver record wms map request statistics ? i.e. can I at the end of a particular day get the most queried geographic area/POI type for a particular period.







Thanks,







Roman.

Hi Roman,

GeoServer does not.

It's somewhat tricky to write one, since bounding boxes are more or less continuous. For long-run statistics, one would probably have to create a grid and collect aggregate statistics on that.

-Arne

Roman Isitua wrote:

Hi,

Does geoserver record wms map request statistics ? i.e. can I at the end of a particular day get the most queried geographic area/POI type for a particular period.

Thanks,

Roman.

------------------------------------------------------------------------

------------------------------------------------------------------------------
  ------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
  
--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers

Roman Isitua ha scritto:

Hi,

Does geoserver record wms map request statistics ? i.e. can I at the end of a particular day get the most queried geographic area/POI type for a particular period.

We don't but we have an extension point that allows a listener to
receive and inspect each request. So it's possible to write a
plugin that does the job.
If you can do some java programming look into the
org.geoserver.ows.DispatcherCallback interface in
the OWS module.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

You might want to do this batchwise using the access logs geoserver is
generating. Saves some performance, and you can integrate it with
other monitoring solutions.

1) Create an "Awstats" or "Webalizer" plugin which extracts the
bounding boxes from the requests
2) Ceate a grid based on the maximum encountered bounding box (or
preferably extent)
3) Assign request counters to each gridfield.
4) Then plot the grid as a seperate layer on your basemap.
5) Profit!

You can already feed the logs to awstats/webalizer because of the
standardized format.

Kind regards,

Pieter

On Mon, Apr 6, 2009 at 11:28 AM, Andrea Aime <aaime@anonymised.com> wrote:

Roman Isitua ha scritto:

Hi,

Does geoserver record wms map request statistics ? i.e. can I at the
end of a particular day get the most queried geographic area/POI type
for a particular period.

We don't but we have an extension point that allows a listener to
receive and inspect each request. So it's possible to write a
plugin that does the job.
If you can do some java programming look into the
org.geoserver.ows.DispatcherCallback interface in
the OWS module.