Articles → MICROSOFT AZURE → Log A Web App In The Log Analytics Workspace In AzureLog A Web App In The Log Analytics Workspace In AzureIn this article, we will log a web app in the log analytics workspace in Azure.Web App First, create a sample web app.Enable Log Analytics In Web App For enabling the log analytics, go to the details screen. Click on the "Diagnostics settings" submenu.Click to EnlargeClick on the "+ Add diagnostics setting" link (see the image above). In the "Diagnostic setting" screen, select the checkbox "Send to Log Analytics workspace".Click to EnlargeSelect the "Log Analytics workspace" dropdown (see the figure above). Select the "Logs" and "Metrics" checkboxes and click on the "Save" button.Output In the log analytics workspace, write the following query.AppServiceHTTPLogsYou will get the following output.Click to EnlargePosted By - Karan Gupta Posted On - Thursday, June 30, 2022 Query/Feedback Your Email Id Subject Query/Feedback Characters remaining 250
AppServiceHTTPLogs
Query/Feedback