Select to view content in your preferred language

Quick Report on ArcGIS API For Python Creating Permanent Report on ArcGIS Server usagereports

576
0
12-18-2023 04:33 PM
BHK
by
Occasional Contributor

 

Trying to create on the fly usage report for a service on top of ArcGIS Enterprise 10.9.1 using the 

gis_host_servers.usage.quick_report()

creates a permanent report on ArcGIS Server usagereports!

 

gis_servers = gis.admin.servers.list()
gis_host_servers = gis_servers[0]

query_string = "services/Forest/North_West.MapServer"
qk_report = gis_host_servers.usage.quick_report(since = "LAST_WEEK",  queries = query_string, metrics = "RequestCount,RequestsFailed")

print(qk_report['report'])

 

 

As far as I know this is supposed to be quick_report so why it is creating an actual report! All of following reports been generated automatically and unwanted!

BHK_1-1702945862280.png

Besides I am getting this error

BHK_0-1702945772063.png

 

 

 

 

 

0 Kudos
0 Replies