Issue with extracting old logs from orchestrator using API

Hello Everyone,

I have been experiencing an issue where I am unable to extract old logs from UiPath Orchetsrator using the API. Despite following the documentation and using correct endpoints, the API fails to retrieve logs older than a certain date (approx 1 month).

Can someone help me on this.

Thanks in advance.

Regards,
Bharti Dubey

Hi @bharti_dubey , good day

If you are able to see the logs in orchestator then you can get the logs using api but only problem with api is it will give you only top 1000 records which means you have to set correct filter to get the old logs

Here is the one example I have used to get the logs based on timestamp. Hope this helps

Are you using Automation Cloud? Note that in this environment we keep logs for a month: Automation Cloud - About logs
There is no way to retrieve logs that are older and have already been removed.
If you need logs for a longer amount of time, you can configure exporting to a storage account of your choice: Automation Cloud - Exporting logs