View activity logs for labs in Azure DevTest Labs

After you create one or more labs, you'll likely want to monitor how and when your labs are accessed, modified, and managed, and by whom. Azure DevTest Labs uses Azure Monitor, specifically activity logs, to provide information these operations against labs.

This article explains how to view activity logs for a lab in Azure DevTest Labs.

View activity log for a lab

  1. Sign in to the Azure portal.

  2. Select All Services, and then select DevTest Labs in the DEVOPS section. If you select * (star) next to DevTest Labs in the DEVOPS section. This action adds DevTest Labs to the left navigational menu so that you can access it easily the next time. Then, you can select DevTest Labs on the left navigational menu.

    All services - select DevTest Labs

  3. From the list of labs, select your lab.

  4. On the home page for the lab, select Configurations and policies on the left menu.

    Select Configuration and policies on the left menu

  5. On the Configuration and policies page, select Activity log on the left menu under Manage. You should see entries for operations done on the lab.

    Activity log

  6. Select an event to see details about it. On the Summary page, you see information such as operation name, time stamp, and who did the operation.

    Stop VM event - summary

  7. Switch to the JSON tab to see more details. In the following example, you can see the name of the VM and the operation done on the VM (stopped).

    Stop VM event - JSON

  8. Switch to the Change history (Preview) tab to see the history of changes. In the following example, you see the change that was made on the VM.

    Stop VM event - Change history

  9. Select the change in the change history list to see more details about the change.

    Stop VM event - Change details

For more information about activity logs, see Azure Activity Log.

Next steps