Querying Azure app insights from an Azure Functions

729 Views Asked by At

I have an Azure Function instance. I would like to execute a KQL query to fetch some data from an Azure app insights instance of another app, then push the data to an on-prem database.

I am aware that we can send a GET request to the REST endpoint of the app insights via an API token, but is there a better way to do this? Ideally, I would like to directly execute the query somehow, since my Azure function resides in the same resource group.

0

There are 0 best solutions below