Azure Application Insights Not Showing Logs

Marcos Vinicius Silva Reis 100 Reputation points
2023-08-18T17:15:38.6366667+00:00

I have an Azure web app that was recently updated, and now no logs are appearing in Application Insights. The app appears as requests and it seems to be connected to Application Insights, but no logs are showing up. Can anyone suggest steps to resolve this issue?

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,658 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,964 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ryan Hill 30,281 Reputation points Microsoft Employee Moderator
    2023-08-23T21:33:51.0233333+00:00

    Some of your basic things to check is to make sure the Application Insights resource is still connected to the web app.

    • Go to the Azure portal and navigate to the Azure web app.
    • Under the Monitoring section, select Application Insights.
    • Check if the correct Application Insights resource is selected. If not, select the correct one.

    If the correct resource is selected, check the SDK that your web app is using is configured correctly, e.g. instrumentation key, log analytics workspace, etc. If that's fine, check to make sure your app is still generating logs by checking the Log Stream in the portal followed by querying the traces table for generated logs. Also, review this troubleshooting guide; it's for dotnet but there are other listed guides you can check as well.

    Upon reviewing the guide, if nothing works or something documented does not help resolve the issue, please feel free to further elaborate on your current setup and share what you're currently seeing. We may need to work offline with you to further investigate.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.