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!
Besides I am getting this error