Bhupesh Pradhan
Bhupesh Pradhan

Reputation: 39

Azure VM start/stop logs

enter image description hereWe have multiple Virtual Machine's in our azure infrastructure.Can someone please let me how can I get the logs of Azure Virtual Machine start/stop time and by whom it was done?

Upvotes: 2

Views: 3072

Answers (1)

Sajeetharan
Sajeetharan

Reputation: 222582

You can always go to View Activity Logs and see the activity.

If you want to check the status and the activity you can do it through Powershell or REST API as defined here

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView?api-version=2019-12-01

Upvotes: 2

Related Questions