Skip to content

Instantly share code, notes, and snippets.

@wsmelton
Last active February 10, 2026 14:10
Show Gist options
  • Select an option

  • Save wsmelton/9633c6fbcc7b944ed6375faad503c9a9 to your computer and use it in GitHub Desktop.

Select an option

Save wsmelton/9633c6fbcc7b944ed6375faad503c9a9 to your computer and use it in GitHub Desktop.
Pull the activity log for AKS agent pool updates/writes
AzureActivity
| where TimeGenerated >= ago(15d)
and OperationNameValue == "Microsoft.ContainerService/managedClusters/agentpools/write"
| project TimeGenerated, Level, CorrelationId, EventSubmissionTimestamp, ActivityStatusValue, Properties_d.message, Properties_d.resource
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment