LogicMonitor supports monitoring of Azure Billing data. Specifically, LogicMonitor uses Azure Usage and Rate Card APIs the calculate an estimate for your Azure spend, enabling you to monitor spend over time in the LogicMonitor platform.
What data is monitored?
LogicMonitor currently has five out-of-the-box DataSources for monitoring Azure billing data (listed below), but custom DataSources can be used to extend what is monitored. Pre-configured DataSources include:
- Cost by Subscription (Microsoft_Azure_BillingCostBySubscription) – monitors cost per subscription for which billing data is accessible (per configuration below)
- Cost by Region (Microsoft_Azure_BillingCostByRegion) – automatically discovers Azure regions and monitors spend per discovered region
- Cost by Service (Microsoft_Azure_BillingCostByService) – automatically discovers Azure services and monitors spend per discovered service
- Cost by Operation (Microsoft_Azure_BillingCostByOperation) – automatically discovers Azure line item operations and monitors spend per operation
- Cost by Tag (Microsoft_Azure_BillingCostByTag_Example) – monitors cost by tag value, where tag key needs to be provided in the DataSource AD section
- Charges classified under the ‘Other classic resources’ line item will not be monitored by LogicMonitor
- Azure CSP (Cloud Service Provider) billing data is not currently monitored by LogicMonitor
- Azure EA (Enterprise Agreement) billing data is not currently monitored by LogicMonitor
How do I get started?
To get started, you’ll need to perform the following steps:
- Identify your Azure offer Id and billing start date per subscription you want to monitor spend forFrom your Azure console, select ‘Subscriptions’ & then select an individual subscription. You’ll need to identify the Offer Id and Billing Start Date for each subscription you want to monitor spend for in LogicMonitor:
- Provide LogicMonitor with the offer id and billing start date(s)In LogicMonitor, navigate to your Azure group and select ‘Manage’ and then select the Billing tab in the Manage dialog. Add each subscription to the table with a corresponding Offer Id and billing start date:
- Import the new Azure Billing DataSourcesOnce these steps are complete, you should see Cost by subscription, region, service, and operation DataSources appear under the account level device, like this:
To customize the Microsoft_Azure_BillingCostByTag_Example DataSource to monitor cost based on a tag in your Azure account, simply add the tag key in the AD Parameters section of the DataSource. The below DataSource will discover all values of the tag key ‘environment’ and track the cost associated with each (note that the DataSource has been renamed from ‘Microsoft_Azure_BillingCostByTag_Example’ to ‘Microsoft_Azure_BillingCostByEnvironment’ to be more specific):
In this Article: