Kueri untuk tabel AutoscaleScaleActionsLog

Tampilkan log Autoscale 50 teratas

Tampilkan log Azure Autoscale terbaru dalam 24 jam terakhir.

AutoscaleScaleActionsLog 
| where TimeGenerated > ago(24h) 
| limit 50

Status operasi skala otomatis

Lists operasi Autoscale terbaru, arah skala, jumlah instans, dan statusnya.

AutoscaleScaleActionsLog
| project TimeGenerated, ResourceId, CurrentInstanceCount, NewInstanceCount, ScaleDirection, ResultType
| sort by TimeGenerated desc 

Operasi autoscale gagal

Cantumkan semua laporan operasi yang gagal, selama hari terakhir.

// To create an alert for this query, click '+ New alert rule'
AutoscaleScaleActionsLog 
| where TimeGenerated > ago(24h)  
| where ResultType == "Failed"