Dashboards on custom application using application insights

浪子不回头ぞ 提交于 2021-01-29 18:57:58

问题


We have a lot of applications that throws custom logs to application insights. I would like to make a dashboard where I can see if each application is running or throwing exceptions etc. I have tried looking around in log analytics and it does not seem to have a connector to Application insights. Can anyone provide with some information to start on? Should I use Monitor, Log Analytics or Sentinel for this task and how do you get started with custom application insights logs.


回答1:


Application Insights is part of Azure Monitor. When creating a new App Insights resource you can now choose to store everything in an Azure Log Analytics Workspace, see the docs. Or you can migrate your existing resource to a workspace backed resource.

Then you can use workbooks to visualize data using interactive workbooks. These workbooks are also available to classic App Insights resources however.

There is also the possibilty to query an App Insights resource in any Log Analytics Workspace by using the app expression like this:

app("name-of-your-ai-resource").requests
| order by timestamp desc
| project timestamp, url, resultCode

and use those results for visualizations.

Finally you can also use the rich capabilities of Power Bi to create interactive reposts, see the docs



来源:https://stackoverflow.com/questions/64532180/dashboards-on-custom-application-using-application-insights

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!