Terraform resource: datadog logs index
Jump to navigation
Jump to search
Official example[edit]
# A sample Datadog logs index resource definition. resource "datadog_logs_index" "sample_index" { name = "your index" daily_limit = 200000 daily_limit_reset { reset_time = "14:00" reset_utc_offset = "+02:00" } daily_limit_warning_threshold_percentage = 50 retention_days = 7 flex_retention_days = 180 filter { query = "*" } exclusion_filter { name = "Filter coredns logs" is_enabled = true filter { query = "app:coredns" sample_rate = 0.97 } } exclusion_filter { name = "Kubernetes apiserver" is_enabled = true filter { query = "service:kube_apiserver" sample_rate = 1.0 } } }
See also[edit]
Advertising: