Hi all,

I am trying to understand the behaviour of Monitor Query API
<https://docs.geoserver.org/main/en/user/extensions/monitoring/query.html>
when Audit logging
<https://docs.geoserver.org/latest/en/user/extensions/monitoring/audit.html>
is enabled. To a fresh installation of GeoServer 2.20.3 with monitoring
extension installed, I sent 108 WFS requests. With roll_limit set to 100, I
see two log files in the directory where the audit logs are written. The
first file contains information on the first 100 requests and the second
file contains the rest.

When I query the request information as CSV (GET http://localhost:8080/
geoserver/rest/monitor/requests.csv), I get information for the last 100
requests only.

Passing an additional parameter count=200 doesn't seem to be working.
GET http://localhost:8080/geoserver/rest/monitor/requests.csv?count=200
I still get only the last 100.

I tried with offsets as well and that also doesn't work.
GET http://localhost:8080/geoserver/rest/monitor/requests.csv?count=100&offset=0

(Returns info on requests with ID 8 to 107)
GET http://localhost:8080/geoserver/rest/monitor/requests.csv
?count=100&offset=100
(Returns 0 records)

Same behaviour is observed with HTML output format. Is this the expected
behavior? Is there a way to get information on all requests as CSV?

Thanks and regards,
Sangeetha Shankar.
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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

Reply via email to