Audit Jobs via the Web InterfaceEstimated reading time: 3 minutes
This topic applies to Docker Enterprise.
The Docker Enterprise platform business, including products, customers, and employees, has been acquired by Mirantis, inc., effective 13-November-2019. For more information on the acquisition and how it may affect you and your business, refer to the Docker Enterprise Customer FAQ.
As of DTR 2.2, admins were able to view and audit jobs within DTR using the API. DTR 2.6 enhances those capabilities by adding a Job Logs tab under System settings on the user interface. The tab displays a sortable and paginated list of jobs along with links to associated job logs.
View Jobs List
To view the list of jobs within DTR, do the following:
https://<dtr-url>and log in with your UCP credentials.
Select System from the left navigation pane, and then click Job Logs. You should see a paginated list of past, running, and queued jobs. By default, Job Logs shows the latest
10jobs on the first page.
Specify a filtering option. Job Logs lets you filter by:
Action: See Audit Jobs via the API: Job Types for an explanation on the different actions or job types.
Worker ID: The ID of the worker in a DTR replica that is responsible for running the job.
Optional: Click Edit Settings on the right of the filtering options to update your Job Logs settings. See Enable auto-deletion of job logs for more details.
The following is an explanation of the job-related fields displayed in Job Logs and uses the filtered
online_gc action from above.
|Action||The type of action or job being performed. See Job Types for a full list of job types.||
|ID||The ID of the job.||
|Worker||The ID of the worker node responsible for running the job.||
|Status||Current status of the action or job. See Job Status for more details.||
|Start Time||Time when the job started.||
|Last Updated||Time when the job was last updated.||
|View Logs||Links to the full logs for the job.||
View Job-specific Logs
To view the log details for a specific job, do the following:
Click View Logs next to the job’s Last Updated value. You will be redirected to the log detail page of your selected job.
Notice how the job
IDis reflected in the URL while the
Actionand the abbreviated form of the job
IDare reflected in the heading. Also, the JSON lines displayed are job-specific DTR container logs. See DTR Internal Components for more details.
Enter or select a different line count to truncate the number of lines displayed. Lines are cut off from the end of the logs.