Kueri untuk tabel SignalRServiceDiagnosticLogs
ID koneksi klien
Ringkasan ID koneksi yang merupakan koneksi klien.
SignalRServiceDiagnosticLogs
| where ConnectionType == "Client"
| summarize count() by ConnectionId, _ResourceId
Alasan penutupan koneksi
Ringkasan alasan dekat untuk koneksi yang terputus.
SignalRServiceDiagnosticLogs
| where OperationName == "ConnectionAborted" or OperationName == "ConnectionEnded" or OperationName == "EndConnectionFailed"
| summarize count() by ConnectionId, Message, _ResourceId
alamat IP
Ringkasan IP yang terhubung ke layanan, yang berguna untuk mengetahui apakah masalah yang sama memiliki pola dalam alamat IP.
SignalRServiceDiagnosticLogs
| where isnotnull(CallerIpAddress) and isnotempty(CallerIpAddress)
| summarize count() by CallerIpAddress, _ResourceId
Log yang berkaitan dengan ID koneksi tertentu
Daftar log yang berisi ID koneksi tertentu.
SignalRServiceDiagnosticLogs
// Enter ConnectionId value to filter by specific connection ID.
| where ConnectionId == ""
| sort by TimeGenerated asc
| take 100
Log yang berkaitan dengan ID pelacakan pesan tertentu
Daftar log yang berisi ID pelacakan pesan tertentu.
SignalRServiceDiagnosticLogs
| where OperationName == "ConnectionAborted" or OperationName == "ConnectionEnded" or OperationName == "EndConnectionFailed"
| summarize count() by ConnectionId, Message, _ResourceId
Log yang berkaitan dengan ID pengguna tertentu
Daftar log yang berisi ID pengguna tertentu.
SignalRServiceDiagnosticLogs
// Enter UserId value to filter by specific user ID.
| where UserId == ""
| sort by TimeGenerated asc
| take 100
Log dengan peringatan atau pengecualian
Daftar log yang berisi peringatan atau pengecualian (log terbaru ditampilkan terlebih dahulu).
SignalRServiceDiagnosticLogs
| where Level == "Warning" or Level == "Error"
| sort by TimeGenerated desc, Collection asc
| take 100
ID koneksi server
Ringkasan ID koneksi yang merupakan koneksi server.
SignalRServiceDiagnosticLogs
| where ConnectionType == "Server"
| summarize count() by ConnectionId, _ResourceId
Bagan waktu nama operasi
Bagan operasi pada waktunya, untuk mendapatkan tren konektivitas dan peristiwa olahpesan.
SignalRServiceDiagnosticLogs
| summarize count() by OperationName, bin(TimeGenerated, 1min)
| render timechart
Jenis transportasi
Ringkasan jenis transportasi untuk koneksi. Biasanya Websocket harus menjadi mayoritas secara default.
SignalRServiceDiagnosticLogs
| where isnotnull(TransportType) and isnotempty(TransportType)
| summarize count() by TransportType, _ResourceId
ID Pengguna
Ringkasan ID pengguna.
SignalRServiceDiagnosticLogs
| summarize count() by UserId, _ResourceId
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk