Udostępnij za pośrednictwem


Zapytania dotyczące tabeli MicrosoftDataShareReceivedSnapshotLog

Wyświetlanie listy 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 codziennych migawek odebranych

Wykres czasu liczby migawek dziennych 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