azureloggingazure-functionsazure-application-insightscentralized

Centralized logging system for multiple azure functions?


I have many azure functions. I want to store logs of every azure function at one single location. I first stored all logs in azure append blob. But now I want to store and visualize in real time. I found some solution like loggly.com for centralized solution. Is there any solution in azure? If yes, what is it? If no, what is other options do I have?


Solution

  • You should create an Application Insights resource. Then use the same instrumentation key to all your Azure Functions. Here's a step by step how to do it:

    https://medium.com/@WorkloadRancher/step-by-step-add-application-insights-to-azure-function-http-triggers-8d10d19c21fc