App Service: Logs from Log stream not showing in AppServiceAppLogs table in service and in Log Analytics.

Sergey Yakovlev 6 Reputation points
2022-08-24T19:51:54.583+00:00

Application logs that i create showing in log stream but not in the Log Analytics table.

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
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,281 Reputation points Microsoft Employee Moderator
    2022-08-28T01:28:04.15+00:00

    Hi @Sergey Yakovlev ,

    I would preface by saying that AppServiceAppLogs is considered platform logs. But I did configure a log analytics workspace for a web app under Diagnostic settings. I did have results returned for the following query:

    235521-image.png

    In case you're interested here are my appsettings.json, which can see over here, but this didn't have anything to do with the logs of the platform.

       "Logging": {  
         "LogLevel": { // All providers, LogLevel applies to all the enabled providers.  
           "Default": "Error", // Default logging, Error and higher.  
           "Microsoft": "Warning", // All Microsoft* categories, Warning and higher.  
           "Azure": "Debug"  
         }  
       },  
    
    0 comments No comments

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.