[Geoserver-users] Geoserver Logs

Hello

Is it possible to pull out how many times a WMS or WFS layer has been accessed from Geoserver logs? Or would I need to use third party software – any suggestions gratefully received.

Thanks.

Sandra

Sandra Kennish

GIS Officer

On Wed, Apr 23, 2014 at 8:57 AM, Sandra Kennish <
s.kennish@anonymised.com> wrote:

Hello

Is it possible to pull out how many times a WMS or WFS layer has been
accessed from Geoserver logs? Or would I need to use third party software –
any suggestions gratefully received.

It you have it set at INFO level, you should be able to, but it's going to
take some time to get the right
log filtering setup.

For that purpose I'd use the monitoring extension instead, either in the
database or auditing mode:
http://docs.geoserver.org/stable/en/user/extensions/monitoring/index.html

Cheers
Andrea

--

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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

Out of curiosity, is there a live demo/example of the monitoring extension running on a test/production service somewhere that can be shared? I’d be interested to look at it and see it running without having to set it up on my own systems.

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

On 23 April 2014 08:51, Andrea Aime <andrea.aime@anonymised.com> wrote:


Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On Wed, Apr 23, 2014 at 8:57 AM, Sandra Kennish <s.kennish@anonymised.com> wrote:

Hello

Is it possible to pull out how many times a WMS or WFS layer has been accessed from Geoserver logs? Or would I need to use third party software – any suggestions gratefully received.

It you have it set at INFO level, you should be able to, but it’s going to take some time to get the right
log filtering setup.

For that purpose I’d use the monitoring extension instead, either in the database or auditing mode:
http://docs.geoserver.org/stable/en/user/extensions/monitoring/index.html

Cheers
Andrea

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Wed, Apr 23, 2014 at 4:51 PM, Jonathan Moules <
jonathanmoules@anonymised.com> wrote:

Out of curiosity, is there a live demo/example of the monitoring extension
running on a test/production service somewhere that can be shared? I'd be
interested to look at it and see it running without having to set it up on
my own systems.

Not really, the monitoring extension GUI in its default status is not that
useful,
it only shows recent data, to make good use of it you either have to:
* have every request be stored in a database and then use the REST api, or
  direct db access, to gather data and status, however in our experience
this
  is not working well as the database quickly gets millions of rows in the
logging table
  and slows down a lot
* use the audit mode, and then setup some external tool to parse the
records and
  build stats (that's what we normally do)

Cheers
Andrea

--

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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

Hi Andrea,

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

Ok, I did dabble with it briefly last year but just the live stuff, no database interactivity. I remember the GUI.

That’s more what I’m curious about - are there any examples of them, or presentations where you’ve discussed them?

Thanks,
Jonathan

  • use the audit mode, and then setup some external tool to parse the records and
    build stats (that’s what we normally do)

Hi

I forwarded on your email Andrea to our Web Manager and he has followed the documentation and got it logging the requests.

Many thanks for your help

Regards

Sandra

Sandra Kennish

GIS Officer

···

Out of curiosity, is there a live demo/example of the monitoring extension running on a test/production service somewhere that can be shared? I’d be interested to look at it and see it running without having to set it up on my own systems.

Cheers,

Jonathan

On 23 April 2014 08:51, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Wed, Apr 23, 2014 at 8:57 AM, Sandra Kennish <s.kennish@anonymised.com…> wrote:

Hello

Is it possible to pull out how many times a WMS or WFS layer has been accessed from Geoserver logs? Or would I need to use third party software – any suggestions gratefully received.

It you have it set at INFO level, you should be able to, but it’s going to take some time to get the right

log filtering setup.

For that purpose I’d use the monitoring extension instead, either in the database or auditing mode:

http://docs.geoserver.org/stable/en/user/extensions/monitoring/index.html

Cheers

Andrea

==

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK

for more information.

==

Ing. Andrea Aime

@geowolf

Technical Lead

GeoSolutions S.A.S.

Via Poggio alle Viti 1187

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 339 8844549

http://www.geo-solutions.it

http://twitter.com/geosolutions_it



Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

Scanned by MailDefender - managed email security from intY - www.maildefender.net