پرش به مطلب اصلی

arvancloud_cloudlogs_forwarders (Data Source)

Lists CloudLogs log forwarders.

Example Usage

data "arvancloud_cloudlogs_forwarders" "all" {}

output "forwarder_count" {
value = length(data.arvancloud_cloudlogs_forwarders.all.forwarders)
}

output "forwarder_names" {
value = [for f in data.arvancloud_cloudlogs_forwarders.all.forwarders : f.name]
}

Schema

Optional

  • page (Number)
  • per_page (Number)

Read-Only

Nested Schema for forwarders

Read-Only:

  • account_id (String)
  • description (String)
  • destination_config (Attributes) (see below for nested schema)
  • destination_type (String)
  • id (String)
  • name (String)

Nested Schema for forwarders.destination_config

Read-Only:

  • basic_auth_password (String, Sensitive)
  • basic_auth_username (String)
  • endpoint (String)
  • headers (Map of String)
  • hec_token (String, Sensitive)