Bearbeiten

Freigeben über


Queries for the ASRJobs table

For information on using these queries in the Azure portal, see Log Analytics tutorial. For the REST API, see Query.

Get all test failover jobs run

Get all test failover jobs run for your ASR protected items to verify if recoverability is being tested regularly for all your important resources.

ASRJobs
//| where TimeGenerated >= ago(30d) // uncomment this line to view last 30 days
| summarize arg_max(TimeGenerated,*) by JobUniqueId
| where OperationName == "Test failover"
| project StartTime, EndTime, SourceResourceId, SourceFriendlyName, DurationMs, ResultDescription