ASRReplicatedItems 表的查询
有关在 Azure 门户中使用这些查询的信息,请参阅 Log Analytics 教程。 有关 REST API,请参阅查询。
获取复制运行状况历史记录
获取虚拟机的复制运行状况历史记录。
let replicatedItemFriendlyName = "<insert your replicated item friendly name>";
ASRReplicatedItems
//| where TimeGenerated >= ago(30d) // uncomment this line to view last 30 days
//| where _ResourceId == resourceId // uncomment this line and enter resource ID
| where ReplicatedItemFriendlyName == replicatedItemFriendlyName
| project Day=startofday(TimeGenerated), TimeGenerated, ReplicatedItemId, ReplicatedItemFriendlyName, ReplicationStatus
| summarize arg_max(TimeGenerated,*) by Day