Search code examples
c#azureazure-application-insightstelemetry

How to fetch details from Application insight in c#


My current requirement is to fetch the Application Insight Data into my application & Use the log data for some of the customized dashboard. Dashboard is 2nd task i can take care. Only the Query is how to fetch logs from Application Insight?


Solution

  • I suppose your best bet is to use the rest api to access the data.

    It uses the same syntax for queries as Application Insights Analytics so if you already have some experience with that it is really easy.

    Some basic queries to get you started can be found here