Is there a general Logging service on Azure?

Viewed 7515

Maybe SO isn't the right place for this question. If there is a better platform, please let me know and I will post it there.

Within a single product/domain, we have multiple Azure-hosted applications. Some are Azure Functions, some are API's. Some are websites. Some use a common database. Some use their own custom database. But all somehow work together to form their own eco-system.

The problem we have is logging. Over time, each of these apps was created with their own logging system. We want to consolidate them all into a single system.

I am looking over all of the services that Azure has to offer for some kind of solution. We don't want a standard SQL database for this. We would like a service that is specifically made for logging, which would ideally have its own built-in query system. The idea is that we will create our own internal Logging API which can be called from every application. Then this api will store the logs.

At first, Azure Log Analytics Workspace seemed to be the obvious solution. But as I learn more about it, I'm not so sure. It seems to be more geared to going out and gathering records about machine performance, and less about letting some service (like our API) send log records to it. Am I correct about that? Or not?

Application Insights does a great job of this, but of course, each app has its own instance of Application Insights. And we want a single, consolidated repository for all logs for all applications

So my question is: Is there an out-of-the-box Azure service that is specifically designed for general-purpose logging?

I hope this is making sense.

3 Answers

A single Application Insights instance can be fed from different applications. You just have to use the same InstrumentationKey. The ApplicationInsight API allow this.

The built in reports will then not be of much use to you. You'll probably have to set up your own reports. But if you do that in a clever way and log custom properties for seperating the different applications I think you can build a great logging solution.

https://docs.microsoft.com/en-us/azure/azure-monitor/app/api-custom-events-metrics

There is N number of services available depending on the requirements or the things you want to analyze, mainly being the Azure Monitor and Application Insights.

Here is the diagram which lists down the available services for the full stack monitoring on Applications and Infrastructure

enter image description here

For the network monitoring, you can use the Network watcher as well.

Related