I'm struggling to get get my Azure App Service to send it's logs to Azure Log Analytics in Azure Monitor. It's an ASP.NET Core 3.1 web app hosted on Windows.
I have configured the "Disagnostics Settings (Preview)" blades options to have the category "AppServiceHTTPLogs" checked and to "Send to Log Analytics" with the relevant workspace selected. (As per this blog post https://azure.github.io/AppService/2019/11/01/App-Service-Integration-with-Azure-Monitor.html)
Once configured, I left it for 24 hours assuming that there could be some lag between setup and visibility of any logs. After waiting I have gone to the "Log Analytics Workspace" that was linked in the diagnostic settings, clicked the "Logs" blade and run a Kusto query for all "AppServiceHTTPLogs" in the last 24 hours. There are no results returned by the query.
I've read through many docs links (https://docs.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings and https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs) and other SO questions (Sending logs from .net core application running in App Service to log analytics) but none of them seem to provide anything that points me in the right direction.
Has anyone managed to get this successfully working? Are there any additional steps required to have this actually work? Are there any common mistakes people make when trying to set this up that I could have made?