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

arvancloud_cloudlogs_forwarder (Data Source)

Fetches a CloudLogs log forwarder by ID.

Example Usage

data "arvancloud_cloudlogs_forwarder" "example" {
id = "00000000-0000-0000-0000-000000000001"
}

output "forwarder_name" {
value = data.arvancloud_cloudlogs_forwarder.example.name
}

output "forwarder_endpoint" {
value = data.arvancloud_cloudlogs_forwarder.example.destination_config.endpoint
}

output "forwarder_type" {
value = data.arvancloud_cloudlogs_forwarder.example.destination_type
}

Schema

Required

  • id (String) UUID of the log forwarder.

Read-Only

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

Nested Schema for destination_config

Read-Only:

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