Windows EC2 hostnames starting with EC2AMAZ-

이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

Issue

In the Datadog Agent v6 and v7, the default Agent in-app hostname for UNIX platforms on EC2 is the instance-id. For Windows hosts, the default Agent in-app hostname is the operating system hostname that starts with EC2AMAZ-.

For v6.18.0+ and v7.18.0+, the Agent logs the following warning for Windows hosts on EC2 where the hostname starts with EC2AMAZ-:

You may want to use the EC2 instance-id for the in-app hostname. For more information: https://docs.datadoghq.com/ec2-use-win-prefix-detection

Resolution

If you see the warning message above, your options are:

  • Continue using the in-app hostname (do nothing)
  • Use the instance-id by following the instructions below

EC2 instance-id for Windows host on EC2

For v6.15.0+ and v7.15.0+, the Agent supports the configuration option ec2_use_windows_prefix_detection (default: false). When set to true, the in-app hostname for a Windows EC2 host is the instance-id for:

  • New hosts (enabling this option works immediately)
  • Hosts already reporting to Datadog. After enabling, message Datadog support to change the in-app hostname to the EC2 instance-id.
PREVIEWING: drodriguezhdez/add_public_docs_log_summarization