ACSCallRecordingSummary 數據表的查詢
如需在 Azure 入口網站 使用這些查詢的相關信息,請參閱Log Analytics教學課程。 如需 REST API,請參閱 查詢。
通話錄製持續時間直方圖
產生以秒為單位的通話錄製持續時間直方圖。
ACSCallRecordingSummary
| distinct RecordingId, RecordingLength
// Count call duration bins (60 second intervals)
| summarize duration_counts=count() by bin(RecordingLength, 6000)
| order by RecordingLength asc
| render columnchart with (xcolumn = RecordingLength, title="Recording duration histogram")
通話錄製持續時間百分位數
計算平均通話記錄持續時間,以秒為單位,以及 50%、90% 和 99% 的通話持續時間百分位數。
ACSCallRecordingSummary
// Get the distinct combinations of RecordingId, RecordingLength
| distinct RecordingId, RecordingLength
// Calculate average and percentiles (50%, 90%, and 99%) of call durations (in seconds)
| summarize avg(RecordingLength), percentiles(RecordingLength, 50, 90, 99)
通話錄製的結束原因比率
產生通話錄製結束原因比例的餅圖。
ACSCallRecordingSummary
// Count distinct calls (dcount(CorrelationId)) per call type
| summarize call_types=dcount(RecordingId) by RecordingEndReason
| render piechart title="Recording End Reason Ratio"
每日通話錄音
產生上周每天錄製的直方圖。
ACSCallRecordingSummary
// To filter out recordings made over a week ago, uncomment the next line
// | where TimeGenerated > ago(7d)
// Get the distinct combinations of RecordingId and CallStartTime
| distinct RecordingId, TimeGenerated
// Adds a new column with the call start day
| extend day = floor(TimeGenerated, 1d)
// Count the number of calls per day
| summarize event_count=count() by day
| sort by day asc
| render columnchart title="Number of recordings per day"
每小時通話錄音
產生過去一天每小時錄製的直方圖。
ACSCallRecordingSummary
// To filter out recordings made over a day ago, uncomment the next line
| where TimeGenerated > ago(1d)
// Get the distinct combinations of RecordingId and TimeGenerated
| distinct RecordingId, TimeGenerated
// Adds a new column with the call start hour
| extend hour = floor(TimeGenerated, 1h)
// Count the number of calls per hour
| summarize event_count=count() by hour
| sort by hour asc
| render columnchart title="Number of recordings per hour in last day"
通話錄製的模式比例
產生錄製模式比例的餅圖(內容/格式類型)。
ACSCallRecordingSummary
| summarize count() by ContentType, FormatType
| extend ContentFormat = strcat(ContentType, "/", FormatType)
| project ContentFormat, count_
| render piechart title="Recording by mode (content/format types)"