@@ -131,6 +131,26 @@ union withsource = tt *
131
131
| summarize Bytes=sum(_BilledSize) by Computer | sort by Bytes nulls last
132
132
```
133
133
134
+ To see the size of billable events ingested per subscription, use the following query:
135
+
136
+ ``` Kusto
137
+ union withsource=table *
138
+ | where _IsBillable == true
139
+ | parse _ResourceId with "/subscriptions/" SubscriptionId "/" *
140
+ | summarize Bytes=sum(_BilledSize) by SubscriptionId | sort by Bytes nulls last
141
+ ```
142
+
143
+ To see the size of billable events ingested per resource group, use the following query:
144
+
145
+ ``` Kusto
146
+ union withsource=table *
147
+ | where _IsBillable == true
148
+ | parse _ResourceId with "/subscriptions/" SubscriptionId "/resourcegroups/" ResourceGroupName "/" *
149
+ | summarize Bytes=sum(_BilledSize) by SubscriptionId, ResourceGroupName | sort by Bytes nulls last
150
+
151
+ ```
152
+
153
+
134
154
To see the count of events ingested per computer, use the following query:
135
155
136
156
``` Kusto
@@ -146,7 +166,7 @@ union withsource = tt *
146
166
| summarize count() by Computer | sort by count_ nulls last
147
167
```
148
168
149
- If you want to see counts for billable data types are sending data to a specific computer, use the following query:
169
+ To see the count of billable data types from a specific computer, use the following query:
150
170
151
171
``` Kusto
152
172
union withsource = tt *
@@ -155,7 +175,6 @@ union withsource = tt *
155
175
| summarize count() by tt | sort by count_ nulls last
156
176
```
157
177
158
-
159
178
## Next steps
160
179
161
180
- Read more about how [ Azure Monitor log data is stored] ( ../log-query/log-query-overview.md ) .
0 commit comments