Portal item usage statistic for enterprise 10.5.1

863
1
05-27-2019 05:24 PM
VictorTey
Esri Contributor

Hi, through this article,

https://community.esri.com/blogs/spatialninja/2018/11/17/administering-your-portal-2018-tips-tricks

i am trying to hit the rest endpoint to collect statistic on a particular item. However the following query gave me

xxxxxx.xxx.xxx.xx/portal/sharing/rest/portals/self/usage?f=json&startTime=1558913774000&endTime=1559000174000&period=1d&vars=num&groupby=etype,stype,username&name=a532cf764dfd4aa091bda93bde67224e&token=mytokenxxx

{"error":{"code":500,"message":"Error generating usage report.","details":["Error generating usage report."]}}

Enterprise 10.5.1 federated:

Can anyone point me in the right direction?

0 Kudos
1 Reply
LeoLiu1
Occasional Contributor

Actually, I only see the the 'Usage' option in ArcGIS Online other than Portal.

https://esriau.maps.arcgis.com/sharing/rest/portals/vHnIGBHHqDR6y0CR/usage?f=json&startTime=15585800...