Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to query Application Insight data using Azure Data Studio

I have the following connectivity options in my Azure Data Studio setup:

enter image description here

How can I connect may Azure Data Studio to an Application Insight instance?

like image 624
Allan Xu Avatar asked Oct 23 '25 08:10

Allan Xu


1 Answers

  • In Azure Portal, Create a Log Analytics workspace.

enter image description here

  • Copy the workspace ID which is useful for later to connect Azure DataStudio.

enter image description here

Create Application Insights

  • Select the Resource Mode as Workspace-based.
  • In Log Analytics Workspace, select the Workspace which we have created in the first step. Click on Review + create.

enter image description here

  • Open the Azure Data Studio => New Connection.

  • Provide the Workspace ID which we have copied from Portal => Log Analytics Workspace.

  • In Account => Add Account => Login with your Azure Subscription ID.

  • Click on Connect. enter image description here

enter image description here

  • You can see the Azure Data Studio is now connected to our provided Log Analytics Workspace. enter image description here

  • Now you can query the logs by using the New query option. enter image description here

References taken from MSDoc.

like image 118
Harshitha Veeramalla Avatar answered Oct 26 '25 07:10

Harshitha Veeramalla



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!