What are the core differences between Application Insights and the Logs Ingestion API?

kyczernu 20 Reputation points Microsoft Employee
2024-06-14T14:50:40.99+00:00

I'm trying to best understand their use cases, pros and cons, and how they differ

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,048 questions
0 comments No comments
{count} votes

Accepted answer
  1. Adharsh Santhanam 2,705 Reputation points
    2024-06-14T16:07:34.5266667+00:00

    Hello @kyczernu Application insights is app-level telemetry geared towards monitoring and troubleshooting applications and as a result, it collects data specifically for the configured apps. As a result, it offers detailed insights into application performance, exception, dependencies, visualizations with some cool features like application maps, transaction tracing and end-to-end monitoring. And, all these insights are powered by the telemetry data which can be stored in Log Analytics workspace. However, because it's a very specific solution with a focus on application, it suffers from the fact that it's just focused on the specific application level telemetry and cannot provide anything beyond this.

    The Logs Ingestion API, on the other hand, is more of a general purpose log data collection and storage method. It can collect different log data from different sources, not just apps. As a result, this is a more broad-based solution that can act as a centralized log storage across various services with the ability for query for information using KQL queries. Hence, you will find that you can create custom reports that span across services and gives you a complete holistic picture of your environment and not just your app.

    In a nutshell, if your focus is just on applications, then, Application Insights might be the solution that you're looking for. However, if you want a more generic solution that'll help you get a complete picture of your entire environment, Log Ingestion API (or Log Analytics workspace, in general) might be your friend.

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful