Skip to content

Commit 244d7c7

Browse files
authored
Merge pull request #78811 from bwren/am-standard-properties
Azure Monitor standard properties
2 parents cf0740d + cc360a2 commit 244d7c7

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

articles/azure-monitor/platform/log-standard-properties.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,26 @@ union withsource = tt *
131131
| summarize Bytes=sum(_BilledSize) by Computer | sort by Bytes nulls last
132132
```
133133

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+
134154
To see the count of events ingested per computer, use the following query:
135155

136156
```Kusto
@@ -146,7 +166,7 @@ union withsource = tt *
146166
| summarize count() by Computer | sort by count_ nulls last
147167
```
148168

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:
150170

151171
```Kusto
152172
union withsource = tt *
@@ -155,7 +175,6 @@ union withsource = tt *
155175
| summarize count() by tt | sort by count_ nulls last
156176
```
157177

158-
159178
## Next steps
160179

161180
- Read more about how [Azure Monitor log data is stored](../log-query/log-query-overview.md).

0 commit comments

Comments
 (0)