How to find log analytics work space with commitment tier

anil kumar 1,646 Reputation points
2023-06-07T14:31:51.48+00:00

Hello,

Hope you are doing well !

One of our customer has 300+ log analytics workspaces in his subscription. How can we find the log analytics work space with commitment tier via a query not manually checking each LA work space.

Appreciate your help. Thank you!!

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,679 questions
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
3,672 questions
0 comments No comments
{count} votes

Accepted answer
  1. AirGordon 7,150 Reputation points
    2023-06-07T15:51:51.26+00:00

    I'd suggest using the Azure Resource Graph to query/filter metadata properties of your workspaces.

    This query should get you most of the way there;

    Resources
    | where type == 'microsoft.operationalinsights/workspaces'
    | project name, resourceGroup, properties.sku.name, CapRes=properties.sku.capacityReservationLevel
    

    User's image

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.