Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure application insights or log analytics

What is the use case for Azure application insights or log analytics?

I am using APIM and Azure Functions and want to perform logging for requests. Which one is the best fit, application insights or log analytics?

https://docs.microsoft.com/en-gb/azure/azure-monitor/overview

Update

In particular, any info on Azure application insights vs log analytics used for APIM?

like image 643
Pingpong Avatar asked Mar 12 '19 01:03

Pingpong


People also ask

What's the difference between Azure Monitor Log Analytics and application Insights?

Re: Difference between Log Analytics and MonitorMonitor is the brand, and Log Analytics is one of the solutions. Log Analytics and Application Insights have been consolidated into Azure Monitor to provide a single integrated experience for monitoring Azure resources and hybrid environments.

Why would you use Azure application Insights?

Application Insights is a feature of Azure Monitor that provides extensible application performance management (APM) and monitoring for live web apps. Developers and DevOps professionals can use Application Insights to: Automatically detect performance anomalies. Help diagnose issues by using powerful analytics tools.

What is Azure Log Analytics used for?

Log Analytics is a tool in the Azure portal to edit and run log queries from data collected by Azure Monitor logs and interactively analyze their results. You can use Log Analytics queries to retrieve records that match particular criteria, identify trends, analyze patterns, and provide various insights into your data.

Are application Insights deprecated?

Because the workspace-based Application Insights enhances your monitoring experience, we retire the classic Application Insights on 29 February 2024.


1 Answers

What used to be known as Application Insights and Log Analytics independent offerings - are now a part of Azure Monitor. We're actively merging both platforms.

For instance, Analytics exploration part is exactly the same (same backend, same UX, same capabilities, just different data schema). Alerts are the same. Some experiences are still different (for instance, app experiences such as Application Map).

Example: in Azure Monitor Overview (https://docs.microsoft.com/en-gb/azure/azure-monitor/overview):

enter image description here

"Log Analytics" is referred as a feature and not what used to be known as Log Analytics as a product. For instance, Application Insights resources provide the same "Log Analytics" feature.

For Azure Functions / APIM the native integration with Azure Monitor is through Application Insights.

Update (October, 2020). Application Insights can now store data in Log Analytics workspaces. Now many workspace related features are available to Application Insights resources. How to migrate.

enter image description here

like image 191
ZakiMa Avatar answered Oct 23 '22 02:10

ZakiMa