Share via


使用量數據表的查詢

依數據類型使用

圖表目前針對每個數據類型回報的記錄數量。

Usage
| summarize count_per_type=count() by DataType
| sort by count_per_type desc
| render piechart

可計費的效能數據

計算過去一天內 Perf 數據的 GB) (計費數據量。

Usage
| where TimeGenerated > ago(1d)
| where IsBillable == true
| where DataType == "Perf"
| summarize TotalVolumeGB = sum(Quantity) / 1024

解決方案的數據量

以每個解決方案傳送的 Mb) 來繪製數據量圖表 (。

Usage
| summarize total_MBytes=sum(Quantity) by Solution
| sort by total_MBytes desc nulls last
| render barchart

過去24小時內的工作區擷取總計

過去 24 小時內內嵌到此工作區之所有數據的磁碟區 (GB) 。

Usage
|where TimeGenerated > ago(24h)
|summarize TotalIngestionVolGB = sum(Quantity)/1024.0

Container Insight 解決方案計費數據

請參閱 Container Insights 解決方案的總可計費數據。

//This includes billable data for all solutions in the workspace, see for Container Insights solution
Usage
| where TimeGenerated > startofday(ago(30d))
| where IsBillable == true
| summarize TotalVolumeGB = sum(Quantity) / 1000 by bin(TimeGenerated, 1d), Solution
| render barchart