azureloggingcloudazure-web-app-servicelog-analysis

How to display azure app service's web server log on Azure log Analytics?


I have an api application hosted on azure App services. For the web server log (iis logs) I've turned on web server logging from Azure portal. Look at the screenshot below. Azure diagnostics logs settings for web server

For storing web server logging

Server Logs are allowed to be stored on the Azure blob containers only. As per the configuration the logs are stored on blob container as expected. Now I want to use these logs to be displayed on Azure Log Analytics.

I've the following storage configurations on Log Analytics in Azure Web portal. enter image description here

On Log Analytics explorer I can view logs from all other sources except the web server (iis logs). What I'm missing here?


Solution

  • Verified with App Services team that Log Analytics is only supported at the IaaS (VM) level, not at PaaS (App Service) level.

    Hopefully we can get this on their roadmap soon - for now you have to manually ingest this data into an external log management tool (Splunk, Sumo Logic, Azure Data Explorer).

    Update 12/02/2019

    Azure App Service has announced a Public Preview for IIS App Log integration with Azure Log Analytics.