EXPLORE
← Back to Explore
kqlHunting

Log Analytic Workspace Deletions

Deletion of a workspace could lead to a loss of logging - though the queryable workspace may be deleted meaning you'll have no way to run this query

Detection Query

//Deletion of a workspace could lead to a loss of logging - though the queryable workspace may be deleted meaning you'll have no way to run this query
AzureActivity
| where OperationNameValue == "MICROSOFT.OPERATIONALINSIGHTS/WORKSPACES/DELETE"
| where ActivityStatusValue <> "Start" //so we only see successes or failures, feel free to remove

Data Sources

AzureActivity

Tags

azure
Raw Content
//Deletion of a workspace could lead to a loss of logging - though the queryable workspace may be deleted meaning you'll have no way to run this query
AzureActivity
| where OperationNameValue == "MICROSOFT.OPERATIONALINSIGHTS/WORKSPACES/DELETE"
| where ActivityStatusValue <> "Start" //so we only see successes or failures, feel free to remove