How to access usage statistics?

6451
11
07-09-2015 07:56 AM
ThomasColson
MVP Frequent Contributor

From an AGOL hosted feature service, there is the very neat "Usage" tool. How does one access this programatically, e.g via python or the REST API? This is some very useful data, but having to visit a large number of service definition pages, individually, is not very effective. We'd like to be able to query and report of service useage statistics for all hosted feature services within the organization. We do NOT consider "Number of Times Viewed" a very reliable counter, as that is not capturing hits to the service that are originating from other apps, such as web map or geojson query.

11 Replies
MelanieWawryk
Occasional Contributor III
0 Kudos
MattWilkie1
Occasional Contributor II
0 Kudos