How to retrieve only the info or error logs for a specific job?
The logs for a specific job and level (info, error, fatal) can be retrieved by filtering on JobKey and level.
- Get JobKey . Note: 11 is the Job ID that is fetched from odata/Jobs.
- Filter on Jobkey and level
Note: Logs can be filtered based on the below parameters. Furthermore, it can be filtered on multiple conditions.
- RobotName eq x, JobKey eq x, MachineId eq x, Level ge x, Timestamp gt x