ACSChatIncomingOperations 數據表的查詢
如需在 Azure 入口網站 中使用這些查詢的相關信息,請參閱Log Analytics教學課程。 如需 REST API,請參閱 查詢。
聊天作業
傳回聊天作業和版本組的所有不同組合。
ACSChatIncomingOperations
| distinct OperationName, OperationVersion
| limit 100
計算聊天作業持續時間百分位數
計算每個聊天作業的運行時間 90、95 和第 99 個百分位數,以毫秒為單位。 您可以針對單一作業或其他百分位數自定義它。
ACSChatIncomingOperations
// where OperationName == "<operation>" // This can be uncommented and specified to calculate only a single operation's duration percentiles
| summarize percentiles(DurationMs, 90, 95, 99) by OperationName, OperationVersion // calculate 90th, 95th, and 99th percentiles of each Operation
| limit 100
每個聊天作業的前 5 個 IP 位址
針對每個聊天作業,擷取最多呼叫該作業的 5 個 IP 位址。
ACSChatIncomingOperations
// | where OperationName == "<operation>" // This can be uncommented and specified to calculate only a single operation's count
| top-nested of OperationName by dummy=max(0), // For all the Operations...
top-nested 5 of CallerIpAddress by count() // List the IP address that have called that operation the most
| project-away dummy // Remove dummy line from the result set
| limit 100
聊天作業錯誤
列出依重新存取排序的每個聊天錯誤。
ACSChatIncomingOperations
| where ResultType == "Failed"
| project TimeGenerated, OperationName, OperationVersion, ResultSignature, ResultDescription
| order by TimeGenerated desc
| limit 100
聊天作業結果計數
針對每個聊天作業,計算傳回結果的類型。
ACSChatIncomingOperations
| summarize Count = count() by OperationName, ResultType //, ResultSignature // This can also be uncommented to determine the count of each ResultSignature for each ResultType
| order by OperationName asc, Count desc
| limit 100