az monitor activity-log list
SafeQuery the activity log
az monitor activity-log list --offset 1h -o table
Answers who changed what, when — track down deleted resources and mystery config changes.
Examples
az monitor activity-log list -g prod-rg --offset 24h -o tableLast 24 h of changes
Syntax
az monitor activity-log list [--offset 2h] [--resource-group rg]
Before you run it
Read only.
Related commands
- az group listList resource groups
- aws logs tailTail CloudWatch logs
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store