Is there a way to monitor how many generateToken requests Portal receives and how many tokens are being managed by portal?
https://[url]/gisportal/sharing/rest/generateToken
A bad design in a third party application using a geoprocessing service from a server federated with Portal, caused the application to request 4 tokens per second to our Portal during a long period of time. Fortunately Portal handled the "attack" pretty well.
In order to avoid another situation like this one in the future, we would like to have visibility of how many requests the token service is attending and how many tokens Portal is managing during a chosen period of time - in a similar way you can do it with any other service.
Is this possible?
Solved! Go to Solution.
> Is there a way to monitor how many generateToken requests Portal receives and how many tokens are being managed by portal?
This functionality is not available in ArcGIS Monitor because this information is not available in the ArcGIS Admin API and therefore not cannot be queried by ArcGIS Monitor. Sorry.
One potential workaround option is to write a custom code extension to parse web logs for a specific request signature.
Hope this helps,
Hi @DerekLaw Is the above possible?
> Is there a way to monitor how many generateToken requests Portal receives and how many tokens are being managed by portal?
This functionality is not available in ArcGIS Monitor because this information is not available in the ArcGIS Admin API and therefore not cannot be queried by ArcGIS Monitor. Sorry.
One potential workaround option is to write a custom code extension to parse web logs for a specific request signature.
Hope this helps,