Kueri untuk tabel AppServiceHTTPLogs
Kesehatan App Service
Rangkaian waktu App Service Health (interval lebih dari 5 menit).
AppServiceHTTPLogs
| summarize (count() - countif(ScStatus >= 500)) * 100.0 / count() by bin(TimeGenerated, 5m), _ResourceId
| render timechart
Kategorisasi Kegagalan
Kategorikan semua permintaan yang menghasilkan 5xx.
AppServiceHTTPLogs
//| where ResourceId = "MyResourceId" // Uncomment to get results for a specific resource Id when querying over a group of Apps
| where ScStatus >= 500
| reduce by strcat(CsMethod, ':\\', CsUriStem)
Waktu respons permintaan
Rata-rata & waktu respons 90, 95, dan 99 persentil (dalam milidetik) per App Service.
AppServiceHTTPLogs
| summarize avg(TimeTaken), percentiles(TimeTaken, 90, 95, 99) by _ResourceId
5 Klien Teratas
5 klien teratas yang menghasilkan lalu lintas.
AppServiceHTTPLogs
| top-nested of _ResourceId by dummy=max(0), // Display results for each resource (App)
top-nested 5 of UserAgent by count()
| project-away dummy // Remove dummy line from the result set
5 Mesin Teratas
5 mesin teratas yang menghasilkan lalu lintas.
AppServiceHTTPLogs
| top-nested of _ResourceId by dummy=max(0), // Display results for each resource (App)
top-nested 5 of CIp by count()
| project-away dummy // Remove dummy line from the result set
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