Configure Basic Logs in Azure Monitor (Preview)

Setting a table's log data plan to Basic Logs lets you save on the cost of storing high-volume verbose logs you use for debugging, troubleshooting and auditing, but not for analytics and alerts. This article describes how to configure Basic Logs for a particular table in your Log Analytics workspace.

Important

You can switch a table's plan once a week. The Basic Logs feature is not available for workspaces in legacy pricing tiers.

Which tables support Basic Logs?

By default, all tables in your Log Analytics are Analytics tables, and available for query and alerts. You can currently configure the following tables for Basic Logs:

Note

Tables created with the Data Collector API do not support Basic Logs.

Set table configuration

To configure a table for Basic Logs or Analytics Logs in the Azure portal:

  1. From the Log Analytics workspaces menu, select Tables (preview).

    The Tables (preview) screen lists all of the tables in the workspace.

  2. Select the context menu for the table you want to configure and select Manage table.

    Screenshot showing the Manage table button for one of the tables in a workspace.

  3. From the Table plan dropdown on the table configuration screen, select Basic or Analytics.

    The Table plan dropdown is enabled only for tables that support Basic Logs.

    Screenshot showing the Table plan dropdown on the table configuration screen.

  4. Select Save.

Check table configuration

To check table configuration in the Azure portal, you can open the table configuration screen, as described in Set table configuration.

Alternatively:

  1. From the Azure Monitor menu, select Logs and select your workspace for the scope. See Log Analytics tutorial for a walkthrough.

  2. Open the Tables tab, which lists all tables in the workspace.

    Basic Logs tables have a unique icon:

    Screenshot of the Basic Logs table icon in the table list.

    You can also hover over a table name for the table information view, which indicates whether the table is configured as Basic Logs:

    Screenshot of the Basic Logs table indicator in the table details.

Retention and archiving of Basic Logs

Analytics tables retain data based on a retention and archive policy you set.

Basic Logs tables retain data for eight days. When you change an existing table's plan to Basic Logs, Azure archives data that is more than eight days old but still within the table's original retention period.

Next steps