Usage テーブルのクエリ

データ型別の使用状況

現在のデータ型ごとに報告されたログの量をグラフ化します。

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