Queries for the AKSControlPlane table
For information on using these queries in the Azure portal, see Log Analytics tutorial. For the REST API, see Query.
Cluster Autoscaler logs
Query for logs from the cluster autoscaler. This can help explain why the cluster is unexpectedly scaling up or down. Requires Diagnostic Settings to use the Resource Specific destination table.
AKSControlPlane
| where Category=="cluster-autoscaler"
| limit 100
| project TimeGenerated, Level, Message
Kubernetes API server logs
Query for logs from the Kubernetes API server. Requires Diagnostic Settings to use the Resource Specific destination table.
AKSControlPlane
| where Category=="kube-apiserver"
| limit 100
| project TimeGenerated, Level, Message