Introduction
Problem
The Log Forwarder container tfe-fluent-bit
that is included in Terraform Enterprise version v202109-1 consistently fails with error getaddrinfo(host='http-intake.logs.datadoghq.com', err=12): Timeout while contacting DNS servers
when integrated with Datadog.
Cause
- The underlying component in the Log Forwarder is missing the default configuration for the DNS resolver which causes the name resolution to timeout.
Solution:
-
Upgrade to Terraform Enterprise
v202109-2
.
Outcome:
- The log output from the container
tfe-fluent-bit
stops showing the error. -
The log messages from containers are forwarded correctly.
Additional Information
- For further clarification/assistance, please contact support at support@hashicorp.com or submit a ticket via our support portal.
- https://github.com/fluent/fluent-bit/pull/4088