Extremely slow response from Orchestrator API GetRobotLogs

Orchestrator Version: 2018.2.3

Get Robot Logs

I’m trying to use the Orchestrator GetRobotLogs endpoint to collect logs into a single location for easier viewing and collection. The endpoint is being requested on a timer to get the last logs created since the last endpoint request.

Slow Response

The problem is this: the request is extremely slow, averaging around 20 seconds and other times failing completely–even when requesting as few as 10 records. I understand this is quite a load on the database, as it needs to retrieve every record, and this seems to be a poor design choice.

Has anyone else worked with the log retrieval in a workable fashion? Any recommendations?