You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description = "The ID of the resource on which activate the diagnostic settings."
}
variable "log_categories" {
type = list(string)
default = null
description = "List of log categories. Defaults to all available."
}
variable "excluded_log_categories" {
type = list(string)
default = []
description = "List of log categories to exclude."
}
variable "metric_categories" {
type = list(string)
default = null
description = "List of metric categories. Defaults to all available."
}
variable "logs_destinations_ids" {
type = list(string)
nullable = false
description = <<EOD
List of destination resources IDs for logs diagnostic destination.
Can be `Storage Account`, `Log Analytics Workspace` and `Event Hub`. No more than one of each can be set.
If you want to use Azure EventHub as a destination, you must provide a formatted string containing both the EventHub Namespace authorization send ID and the EventHub name (name of the queue to use in the Namespace) separated by the <code>|</code> character.
EOD
}
variable "log_analytics_destination_type" {
type = string
default = "Dedicated"
description = "When set to 'Dedicated' logs sent to a Log Analytics workspace will go into resource specific tables, instead of the legacy AzureDiagnostics table."