How to convert AzureDiagnostics table to Basic Logs

metalheart 361 Reputation points
2022-08-29T12:48:16.993+00:00

I am sending the resource logs for Azure Front Door into the Log Analytics workspace. In order to reduce cost I'd like to utilize Basic Logs as opposed to Analytic logs - is this a supported scenario and how to do that?

An attempt to enable the Basic plan on the AzureDiagnostics table fails for me:

az rest --uri https://management.azure.com/subscriptions/
Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,799 questions
{count} votes

Accepted answer
  1. Maxim Sergeev 6,566 Reputation points Microsoft Employee
    2022-08-29T17:49:39.333+00:00

    Hi there,

    Currently it's not supported https://learn.microsoft.com/en-us/azure/azure-monitor/logs/basic-logs-configure?tabs=portal-1%2Cportal-2#which-tables-support-basic-logs

    You can currently configure the following tables for Basic Logs:

    • All tables created with the Data Collection Rule (DCR)-based logs ingestion API.
    • ContainerLogV2, which Container Insights uses and which include verbose text-based log records.
    • AppTraces, which contains freeform log records for application traces in Application Insights.

    AzureDiagnostics table isn't listed per today.


1 additional answer

Sort by: Most helpful
  1. Andrew Blumhardt 9,491 Reputation points Microsoft Employee
    2022-08-29T16:15:57.353+00:00

    You might try setting this up in the UI. Your target table may also not be supported yet as the error suggests.

    https://learn.microsoft.com/en-us/azure/azure-monitor/logs/basic-logs-configure