Bagikan melalui


Kueri untuk tabel ASCDeviceEvents

Kegagalan autentikasi dan pengesahan perangkat Azure Sphere

Daftar kegagalan autentikasi dan pengesahan perangkat Azure Sphere selama seminggu terakhir, diurutkan menurut waktu.

ASCDeviceEvents
| where OperationName == "DeviceCertificateEvent" and
        Properties.EventType == "DeviceAttestationFailure" or Properties.EventType == "DeviceCertificateEvent" and
        ResultType == "Failure" // Filter by time by adding " | where TimeGenerated > ago(7d) " for last 7 days of data or using time picker in the UI
| project TimeGenerated, DeviceId, Properties, ResultDescription, Location
| sort by TimeGenerated desc
| limit 100

Garis waktu peristiwa perangkat Azure Sphere

Garis waktu yang diurutkan dari semua peristiwa yang dihasilkan oleh perangkat Azure Sphere selama seminggu terakhir, untuk memantau dan memecahkan masalah kegagalan yang tidak terduga.

ASCDeviceEvents
| where OperationName == "DeviceCertificateEvent" or Properties.DeviceTelemetryEventCategory == "AppCrash" // Remove/Add filters to see all/specific events. Filter data by Device by adding " | where DeviceId == "Your Device ID" " 
| project TimeGenerated, OperationName, ResultType, ResultDescription, Properties, Location
| sort by TimeGenerated desc
| limit 100

Bagan waktu peristiwa heartbeat perangkat Azure Sphere

Diagram waktu semua peristiwa pembuatan sertifikat yang dimulai oleh perangkat Azure Sphere selama seminggu terakhir, untuk terus memantau kesehatan perangkat dan melihat tren.

let Interval = timespan(1d); // Interval for the Chart 
ASCDeviceEvents
| where OperationName == "DeviceCertificateEvent" and 
        Properties.EventType == "DeviceCertificatesGenerate" and 
        ResultType == "Success"
| summarize Device_Heartbeat_Events=count() by bin(TimeGenerated, Interval)
| render timechart

Perangkat Azure Sphere tidak diperbarui ke OS terbaru

Daftar perangkat Azure Sphere yang belum diperbarui ke versi OS terbaru selama seminggu terakhir.

ASCDeviceEvents
| where OperationName == "DeviceUpdateEvent" and  
        todouble(Properties.InstalledOSVersion) != todouble(Properties.TargetedOSVersion) // Filter by time by adding " | where TimeGenerated > ago(7d) " for last 7 days of data or using time picker in the UI
| summarize by DeviceId
| limit 100

Ringkasan peristiwa telemetri perangkat Azure Sphere

Piechart yang meringkas bagian dari setiap kategori peristiwa yang dihasilkan oleh Perangkat Azure Sphere selama seminggu terakhir, untuk memantau kesehatan perangkat secara keseluruhan.

ASCDeviceEvents
| where OperationName == "DeviceTelemetryEvent" // Filter by time by adding " | where TimeGenerated > ago(7d) " for last 7 days of data or using time picker in the UI
| summarize count() by tostring(Properties.DeviceTelemetryEventCategory)
| render piechart