Microsoft Azure Cost Management

Track Microsoft Azure Cost Metrics

❗️

This source has been deprecated

observIQ is in the process of transitioning a subset of BindPlane's monitoring capabilities to the observIQ OpenTelemetry Collector. As a result, this Source is no longer publicly available in BindPlane. If you need access to this Source, please reach out to our support via chat or via [email protected].

📘

Not Included in the BindPlane with Google Stackdriver offering

All of the Google Cloud Platform sources listed within this documentation are not included with the BindPlane with Google Stackdriver offering.

Please refer to the Microsoft Azure Sources topic for additional information on how to configure the LPU, and general Azure Data Collection setup details.

Least Privileged User

Steps:

  1. Using the Azure CLI Client, find the Subscription ID and Tenant ID from your account list
  2. Create a custom RBAC role using the JSON provided. Include your Subscription ID and rename the file to azure.json
  3. Create an Active Directory Service Principal and assign the custom RBAC role t it.

Creating custom roles using the Azure CLI:

https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles

Assigning roles using the Azure CLI:

https://docs.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal

{
  "Name": "LPU Cost Management",
  "Description": "LPU for Cost Management and Billing",
  "Actions": [
    "Microsoft.Billing/*/read",
    "Microsoft.Consumption/*/read",
    "Microsoft.Authorization/*/read"
  ],
  "AssignableScopes": [
    "/subscriptions/[Subscription ID]"
  ]
}

Connection Parameters

NameRequired?Description
Subscription IDRequiredGUID Subscription ID
Tenant IDRequiredGUID Tenant ID (also known as Directory ID)
Client IDRequiredGUID Client ID (also known as Application ID)
Client SecretRequiredThe Secret (also known as Key) corresponding to the Client ID.
Maximum HTTP Retry Time (seconds)The maximum amount of time in seconds to retry each API request when the API is throttling.
HTTP Request Timeout (seconds)The maximum amount of time in seconds before a single HTTP request will fail.
Monitor Metric Collection LevelSelects which monitor metrics should be collected.
Filter By Resource Group TypeSelects whether to use a whitelist or blacklist when filtering by Resource Groups.
Filter By Resource Group WhitelistA comma separated list of resource groups to explicitly allow. A '*' character is used to represent 'all', and a blank string is used for 'none'.
Filter By Resource Group BlacklistA comma separated list of resource groups to filter out. A '*' character is used to represent 'all', and a blank string is used for 'none'.
Filter By Tags Group TypeSelects whether to use a whitelist or blacklist when filtering by Resource Groups.
Filter By Tags Group WhitelistA comma separated list of tags to explicitly allow. Tags must follow the format <key:value>. Instead of a specific tag, or tag value, a '*' character is used to represent 'all'. A blank entry is treated as 'none'.
Filter By Tags Group BlacklistA comma separated list of tags to filter out. Tags must follow the format <key:value>. Instead of a specific tag, or tag value, a '*' character is used to represent 'all'. A blank entry is treated as 'none'.
Items per PageThe number of items to pull per Azure API request.

Metrics

Billing Period

NameDescription
End DateThe end of the date range covered by the billing period
IDBilling period ID
Invoice IDsInvoice IDs that are associated with the billing period
NameBilling period name
Start DateThe start of the date range covered by the billing period
TypeMicrosoft Azure resource type

Usage Detail

NameDescription
CurrencyThe ISO currency in which the meter is charged
IDUsage details ID
Instance IDThe URI of the resource instance that the usage is about
Instance NameThe name of the resource instance that the usage is about
Is EstimatedThe estimated usage is subject to change
Meter IDThe meter id (GUID)
Meter NameThe name of the meter, within the given meter category.
NameUsage details name
Pretax CostThe amount of cost before tax
Subscription GUIDSubscription GUID
TagsMicrosoft Azure resource tags
TypeMicrosoft Azure resource type
Usage EndThe end of the date time range covered by the usage detail
Usage QuantityThe quantity of usage
Usage StartThe start of the date time range covered by the usage detail