Azure Monitor: Check and Assess Log Analytics Workspace, Application Insights and Dedicated Cluster
Published Nov 10 2022 12:00 AM 3,785 Views
Microsoft

Hello my dear readers :lol:

How many times have you found yourself in a situation in which plenty of Log Analytics Workspaces and Application insights were installed over time and you lost control?

 

Moreover, how can you make sure that you are eligible for an Azure Monitor Log Dedicated Cluster instance to enforce data security using Azure Monitor customer-managed key (CMK) and to save money? Unfortunately, you need to do queries and math’s to get the full picture. This was true until today :smile:

 

Collecting needs from several customers, I created a workbook that allows you to retain control over your monitoring infrastructure.

This workbook, organized with parameters and tabbed approach to permit a direct access to the related resource,

 

BrunoGabrielli_0-1668003665672.png

shows you several information in both aggregated and detailed ways. The Application Insights instances tab reports on the number of Application Insights instances

BrunoGabrielli_1-1668003693029.png

, their average daily ingestion and the ingestion over time for the selected subscription(s). Plus, some interesting information about the integration mode and its retirement date.

 

BrunoGabrielli_3-1668003722930.png

 

BrunoGabrielli_4-1668003739928.png

 

plus, some interesting information about the integration mode and its retirement dateBrunoGabrielli_2-1668003705918.png

Pretty similar approach for the Log Analytics Workspaces tab. Here you can get, together with the abovementioned information, the pricing tier, the capping, information about the daily and overtime ingestion and the eventual dedicated cluster membership.

 

Talking Log Analytics Dedicated Cluster tab, you can get the number of configured clusters by subscription, the pricing tier, the count of all Log Analytics Workspaces linked to a given one,

BrunoGabrielli_6-1668003797070.png

Additional details plus the use of CMK

BrunoGabrielli_7-1668003816306.png

BrunoGabrielli_8-1668003826020.png

 and, last but not least the daily ingestion as sum of all attached workspaces. This tile gives you the ability to understand if you are eligible for the next pricing tier to save even more.

BrunoGabrielli_9-1668003850501.png

Should you need a tool to assess, rationalize and sanitize your Monitoring infrastructure, this could be it. Released in the form of a workbook, it can be easily imported and thanks to the parameter selection it can be used by any customer with no need for code change.

 

Should you be interested in testing and using this workbook, you can download it directly from the Azure Portal navigating the Monitor --> Workbooks, clicking on the Community Git repo and selecting Azure Monitor

 

BrunoGabrielli_10-1668003871941.png

 

searching through the Github repository in the Azure Services --> Azure Monitor --> Workbooks folder and opening the Workspace & Application Insights Inventory.workbook file or by using this direct link: https://github.com/microsoft/AzureMonitorCommunity/blob/master/Azure%20Services/Azure%20Monitor/Work...

 

BrunoGabrielli_11-1668003907518.png

 

Once you get there, click on the Raw button to open the file

 

BrunoGabrielli_12-1668003983694.png

 

Then copy/paste the content in a new workbook, save it and use it :cool:

 

That’s all folks :happyface::happyface::happyface:

 

Disclaimer

The sample scripts are not supported under any Microsoft standard support program or service. The sample scripts are provided AS IS without warranty of any kind. Microsoft further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample scripts and documentation remains with you. In no event shall Microsoft, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample scripts or documentation, even if Microsoft has been advised of the possibility of such damages.

Co-Authors
Version history
Last update:
‎Nov 09 2022 06:51 AM
Updated by: