App Service Diagnostic Settings : documentation about generated json files

fhtino 166 Reputation points
2022-12-11T08:54:54.753+00:00

I have activated Diagnostic Settings export to Storage Account on an Azure App Service. It creates many json files. 1 per hour in my understanding.
Where can I find the documentation about the fields of these json files? Also, the details inside "properties" field. It looks like a W3C standard log file but I would like to find official documentation.

PS: discussione started on Twitter with AzureSupport: https://twitter.com/fhtino/status/1601819511677648896

269351-image.png

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,661 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,965 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 18,996 Reputation points Moderator
    2022-12-12T08:43:37.363+00:00

    @fhtino The diagnostic logs sent from App service can be stored in log analytics workspace in two formats. One is the logs can be sent to Azure Diagnostics or to individual table.

    • AzureDiagnostics : The resource log for each Azure service has a unique set of columns. The AzureDiagnostics table includes the most common columns used by Azure services. If a resource log includes a column that doesn't already exist in the AzureDiagnostics table, that column is added the first time that data is collected.
      • If the logs are sent to AzureDiagnostic Table, the log format is as per this document and all the properties of log shown here will be in properties column of AzureDiagnostics table.
    • Resource specific table: In this mode, Individual tables in the selected workspace are created for each category selected in the diagnostic setting.
      • If it is sent to individual table, the properties shown here will be logged as columns.

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.