I have an application hosted on Azure Web App. For some time now, I’ve been randomly receiving a 503 error when making requests to the API. Where on Azure can I view detailed server logs? In regular Application Insights, I can only see application logs, but I need detailed server logs.
Best regards
1
You can enable diagnostic logs to a Log Analytics workspace via the diagnostics extension in App Service:
https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs
If you have Visual Studio you can access the EventLogs.xml alternatively you can access it via Kudo or check the diagnostics tool:
https://learn.microsoft.com/en-us/azure/app-service/resources-kudu
https://learn.microsoft.com/en-us/azure/app-service/overview-diagnostics
Via Kudo you can also access w3wp logs (access logs)
You can also further configure the App Service logging and then access it via Kudo/API/FTP or start the log streaming:
https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-app-service-logging-how-to-monitor-your-web-apps-in-real/ba-p/3800390
But normally Application Insights should have all the Application related logs, if the application is configured correctly to log.