How to retrive live metrics data from azure,localy on your machine

Eugene Klottey Mensah 0 Reputation points

I there a way to write a program or a script to access and retrieve azure application insights live metrics locally on your machine?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,477 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Boris Von Dahle 2,661 Reputation points


    Yes, you can retrieve the application insights live metrics from your machine.

    You will need to install the Azure Monitor SDK in the language you prefer.

    Then query the API for the metrics you want.This is the related documentation :

    Once you have retrieved the live metrics data from Azure, you can process and display it locally on your machine. Depending on your requirements, you can choose to visualize the data in a console application, a web application, or any other suitable format.

    Hope this helps. If it does please mark the answer as acceptedso other users with same questions can find this topic


    0 comments No comments

  2. Dillon Silzer 49,166 Reputation points

    Hi Eugene,

    You could build some reporting locally with PowerShell using Azure monitoring REST API:

    Also, here is a walkthrough of creating a Service Principal and using it to call information:

    If this is helpful please accept answer.

    0 comments No comments