Azure Diagnostic Setting Retention Confusion

Hello,

In the azurerm_monitor_diagnostic_setting resource, there is a Note that the retention setting for logs has been deprecated and is replaced by the azurerm_storage_management_policy resource.

When I looked at this more carefully, that new resource type seems to really only apply if your log destination is a storage account and not a Log Analytics workspace. Can I get clarity on whether the retention_policy argument for logs does is in fact still supported if your destination is a log analytics workspace and not a storage account?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.