Zapytania dotyczące tabeli MicrosoftDataShareReceivedSnapshotLog
Aby uzyskać informacje na temat korzystania z tych zapytań w witrynie Azure Portal, zobacz Samouczek usługi Log Analytics. Aby zapoznać się z interfejsem API REST, zobacz Zapytanie.
Lista odebranych migawek według czasu trwania
Lista migawek posortowanych według czasu trwania w ciągu ostatnich 7 dni.
MicrosoftDataShareReceivedSnapshotLog
| where TimeGenerated > ago(7d)
| where StartTime != "" and EndTime != ""
| project StartTime , EndTime , DurationSeconds =(todatetime(EndTime)-todatetime(StartTime))/1s, ResourceName = split(_ResourceId,"/accounts/",1)// use split to get a part of the _ResourceId
| sort by DurationSeconds desc nulls last
Liczba nieudanych migawek odebranych
Liczba nieudanych migawek w ciągu ostatnich 7 dni.
MicrosoftDataShareReceivedSnapshotLog
| where TimeGenerated > ago(7d)
| where Status == "Failed"
| summarize count() by _ResourceId
Częste błędy w odebranych migawkach
10 najczęściej występujących błędów w ciągu ostatnich 7 dni.
MicrosoftDataShareReceivedSnapshotLog
| where TimeGenerated > ago(7d)
| where Status == "Failed"
| summarize count() by _ResourceId, DataSetType // Counting failed logs per datasettype
| top 10 by count_ desc nulls last
Wykres dziennych migawek odebranych
Wykres czasu liczby codziennych migawek w ciągu ostatniego tygodnia.
// Failed, In Progress and Succeeded Received Snapshots
MicrosoftDataShareReceivedSnapshotLog
| where TimeGenerated > ago(7d)
| summarize count() by bin(TimeGenerated, 1d), Status , _ResourceId // Aggregating by day //Click "Table" to see resource's name.
| render timechart