Skip to content

Commit 8a57134

Browse files
Merge pull request #264435 from DaleKoetke/docs-editor/cost-usage-1706456825
Update cost-usage.md
2 parents a2ddea9 + b7b0a74 commit 8a57134

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

articles/azure-monitor/cost-usage.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,42 @@ For example, usage from Log Analytics can be found by first filtering on the **M
8686

8787
Add a filter on the **Instance ID** column for **contains workspace** or **contains cluster**. The usage is shown in the **Consumed Quantity** column. The unit for each entry is shown in the **Unit of Measure** column.
8888

89+
> [!NOTE]
90+
> See [Azure Monitor billing meter names](cost-meters.md) for a reference of the billing meter names used by Azure Monitor in Azure Cost Management + Billing.
91+
8992
## View data allocation benefits
9093

91-
Since the usage export has both the number of units of usage and their cost, you can use this export to see the amount of benefits you are receiving from various offers such as the [Defender for Servers data allowance](logs/cost-logs.md#workspaces-with-microsoft-defender-for-cloud) and the [Microsoft Sentinel benefit for Microsoft 365 E5, A5, F5, and G5 customers](https://azure.microsoft.com/offers/sentinel-microsoft-365-offer/). In the usage export, to see the benefits, filter the *Instance ID* column to your workspace. (To select all of your workspaces in the spreadsheet, filter the *Instance ID* column to "contains /workspaces/".) Then filter on the Meter to either of the following two meters:
94+
There are several approaches to view the benefits a workspace receives from various offers such as the [Defender for Servers data allowance](logs/cost-logs.md#workspaces-with-microsoft-defender-for-cloud) and the [Microsoft Sentinel benefit for Microsoft 365 E5, A5, F5, and G5 customers](https://azure.microsoft.com/offers/sentinel-microsoft-365-offer/).
95+
96+
### View benefits in a usage export
97+
98+
Since a usage export has both the number of units of usage and their cost, you can use this export to see the amount of benefits you are receiving. In the usage export, to see the benefits, filter the *Instance ID* column to your workspace. (To select all of your workspaces in the spreadsheet, filter the *Instance ID* column to "contains /workspaces/".) Then filter on the Meter to either of the following two meters:
9299

93100
- **Standard Data Included per Node**: this meter is under the service "Insight and Analytics" and tracks the benefits received when a workspace in either in Log Analytics [Per Node tier](logs/cost-logs.md#per-node-pricing-tier) data allowance and/or has [Defender for Servers](logs/cost-logs.md#workspaces-with-microsoft-defender-for-cloud) enabled. Each of these provide a 500 MB/server/day data allowance.
94101
- **Free Benefit - M365 Defender Data Ingestion**: this meter, under the service "Azure Monitor", tracks the benefit from the [Microsoft Sentinel benefit for Microsoft 365 E5, A5, F5, and G5 customers](https://azure.microsoft.com/offers/sentinel-microsoft-365-offer/).
95102

96-
> [!NOTE]
97-
> See [Azure Monitor billing meter names](cost-meters.md) for a reference of the billing meter names used by Azure Monitor in Azure Cost Management + Billing.
103+
### View benefits in Usage and estimated costs
98104

99105
You can also see these data benefits in the Log Analytics Usage and estimated costs page. If the workspace is receiving these benefits, there will be a sentence below the cost estimate table that gives the data volume of the benefits used over the last 31 days.
100106

107+
### Query benefits from the Operation table
108+
109+
The [Operation](/azure/azure-monitor/reference/tables/operation) table contains daily events which given the amount of benefit used from the [Defender for Servers data allowance](logs/cost-logs.md#workspaces-with-microsoft-defender-for-cloud) and the [Microsoft Sentinel benefit for Microsoft 365 E5, A5, F5, and G5 customers](https://azure.microsoft.com/offers/sentinel-microsoft-365-offer/). The `Detail` column for these events are all of the format `Benefit amount used 1.234 GB`, and the type of benefit is in the `OperationKey` column. Here is a query that charts the benefits used in the last 31-days:
110+
111+
```kusto
112+
Operation
113+
| where TimeGenerated >= ago(31d)
114+
| where Detail startswith "Benefit amount used"
115+
| parse Detail with "Benefit amount used: " BenefitUsedGB " GB"
116+
| extend BenefitUsedGB = toreal(BenefitUsedGB)
117+
| parse OperationKey with "Benefit type used: " BenefitType
118+
| project BillingDay=TimeGenerated, BenefitType, BenefitUsedGB
119+
| sort by BillingDay asc, BenefitType asc
120+
| render columnchart
121+
```
122+
123+
(This functionality of reporting the benefits used in the `Operation` table came online in January 2024.)
124+
101125
## Usage and estimated costs
102126
You can get additional usage details about Log Analytics workspaces and Application Insights resources from the **Usage and Estimated Costs** option for each.
103127

0 commit comments

Comments
 (0)