-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set Interactive retention and Total retention period for Log Analytics Workspace table #28272
Comments
Use the following name = "name" 30 is the minimum, 730 is the maximumretention_in_days = 30 daily quota - help if log storm happens (limit logging to 500Mb per day)daily_quota_gb = 0.5 tags = "tags" To reduce cost further, you can convert some tables from analytics to basic with `locals { https://learn.microsoft.com/en-us/azure/azure-monitor/logs/basic-logs-configureLAW tables are tied to solution creation, if a table is missing, its because its solutions has NOT been installed.basic_logs_support = toset([ resource "azurerm_log_analytics_workspace_table" "basic" { the table must exist, otherwise the plan will failname = each.key The retention_in_days must be 30, when plan is Basictotal_retention_in_days = 30 |
Thanks for the update. I think the options mentioned on below Microsoft link is handled with different naming on terraform syntax.
|
Is there an existing issue for this?
Community Note
Terraform Version
1.5.2
AzureRM Provider Version
3.108.0
Affected Resource(s)/Data Source(s)
azurerm_log_analytics_workspace, azurerm_log_analytics_workspace_table
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
I should be able to set Interactive retention and Total retention period for ant tables in the Log Analytics Workspace
Actual Behaviour
No response
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: