Azure ポータルでこれらのクエリを使用する方法については、Log Analytics チュートリアルを参照してください。 REST API については、「 Query」を参照してください。
通話録音時間ヒストグラム
通話録音の長さを秒単位で示したヒストグラムを生成します。
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"
日々の通話録音
過去1週間における日ごとの記録を基にしたヒストグラムを生成します。
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"
時間ごとの通話録音
過去 1 日間の 1 時間ごとのレコーディングのヒストグラムを生成します。
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)"