Created
November 10, 2018 16:13
-
-
Save itaysk/25c846b1461fa6e81399601b2ca2fa70 to your computer and use it in GitHub Desktop.
Determine who created resources in Azure using Log Analytics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ResourceGroup=<ResourceGroupName>) (Resource=<ResourceName>) (ActivityStatus=Succeeded) | |
| Sort TimeGenerated asc | |
| Top 1 | |
| Select Caller |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AzureActivity | |
| where ResourceGroup == "ResourceGroupName" and Resource == "ResourceName" | |
| where ActivityStatus == "Succeeded" | |
| top 1 by EventSubmissionTimestamp asc | |
| project Caller |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More info: http://blog.itaysk.com/2017/06/25/determine-who-created-resources-in-azure