Uipath Get Job Logs using Orchestrator HTTP Request

Hi, All

How can I get all the logs of all jobs executed past 30 days with Orchestrator HTTP Request? I have tried many ways but still no result. How should I set the settings with this condition? Please help. Thanks a lot.

Hey @wilsonchen

Did you tried the logs endpoint for the same ?

Thanks
#nK

Hi @Nithinkrishna

I have tried the logs endpoint,but the results are not I need.

It seems to add some filters to meet the needs.

Okay got it. Let me try it and update you here.

Hi @Nithinkrishna

I have tried this endpoint : string.Format(“odata/RobotLogs/UiPath.Server.Configuration.Odata.Reports/?$filter=TimeStamp ge{0}&DisplayName eq{1}”,Now.Addmonths(-1).tostring(“yyyy-MM-ddTHH:mm:ssZ”),item), but it can only get the logs in the “shared” folder instead of all folders I created. It seems something wrong with the second filter. Please help, thanks.

Hey @wilsonchen

Are you using any Organization ID header in the request?

Thanks
#nK

Hi @Nithinkrishna

I didn’t use any ID header in my request

thanks

You are doing this with which activity please ?

Orchestrator Http Request

Then you can’t pass header, but the folder property you need to pass ?

Kindly check the properties panel & confirm.

Thanks
#nK