Edit

Share via


Manual Updates to Diagnostic Settings Created via Tag Rules

This article explains the behavior and limitations when attempting to manually update diagnostic settings that are created automatically based on tag rules in Azure.

Symptoms

  • Changes made to log categories in the diagnostic settings page don't persist.
  • Unchecked log categories revert to their default settings after saving.
  • Modifying destination details results in a new diagnostic setting being created with the original configuration.
  • Unable to customize diagnostic settings other than those defined by tag rules.

Cause

Diagnostic settings created via tag rules are managed automatically. Manual changes to log categories through the Azure portal aren't supported. Even if you uncheck log categories and save, the settings will revert to the defaults specified by the tag rules. If you modify destination details, a new diagnostic setting is created with the original configuration, subject to the Azure limitation of a maximum of five diagnostic settings per resource.

Solution

  • To change the configuration, update the tag rules that govern the diagnostic settings.
  • If you need to modify destination details, ensure you don't exceed the maximum of five diagnostic settings per resource.

Tip

For more information about diagnostic settings and tag rules, see Create diagnostic settings in Azure.