title | description | ms.topic | ms.author | author | ms.date |
---|---|---|---|---|---|
Activity logs |
This article provides steps to view activity logs for Azure DevTest Labs. |
how-to |
rosemalcolm |
RoseHJM |
07/10/2020 |
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.
-
Sign in to the Azure portal.
-
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.
-
From the list of labs, select your lab.
-
On the home page for the lab, select Configurations and policies on the left menu.
:::image type="content" source="./media/activity-logs/configuration-policies-link.png" alt-text="Select Configuration and policies on the left menu":::
-
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.
:::image type="content" source="./media/activity-logs/activity-log.png" alt-text="Activity log":::
-
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.
:::image type="content" source="./media/activity-logs/stop-vm-event.png" alt-text="Stop VM event - summary":::
-
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).
:::image type="content" source="./media/activity-logs/stop-vm-event-json.png" alt-text="Stop VM event - JSON":::
-
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.
:::image type="content" source="./media/activity-logs/change-history.png" alt-text="Stop VM event - Change history":::
-
Select the change in the change history list to see more details about the change.
:::image type="content" source="./media/activity-logs/change-details.png" alt-text="Stop VM event - Change details":::
For more information about activity logs, see Azure Activity Log.
- To learn about setting alerts on activity logs, see Create alerts.
- To learn more about activity logs, see Azure Activity Log.