共用方式為


AppServiceAuthenticationLogs 數據表的查詢

來自 App Service 驗證的最新錯誤

清單 所選時間範圍內 App Service 驗證最多 100 個最新的錯誤。

AppServiceAuthenticationLogs
| where TaskName == "MiddlewareError"
| sort by TimeGenerated desc
| take 100

來自 App Service 驗證的最新警告

清單 所選時間範圍內 App Service 驗證最多 100 個最新的警告。

AppServiceAuthenticationLogs
| where TaskName == "MiddlewareWarning"
| sort by TimeGenerated desc
| take 100

來自 App Service 驗證的前100個最常見錯誤和警告

所選時間範圍內 App Service 驗證的前 100 個最常見錯誤和警告訊息計數,依第一個) 所示的類型排序 (錯誤,然後遞減計數。

AppServiceAuthenticationLogs
| where TaskName == "MiddlewareWarning" or TaskName == "MiddlewareError"
| summarize count() by Message, TaskName
| order by TaskName asc, count_
| take 100