개요
Observability Pipelines의 BYOC(Bring Your Own Cloud) Logs 목적지를 사용하여 Datadog BYOC Logs로 로그를 전송하세요.
전제 조건
목적지를 구성하기 전에 BYOC Logs 클러스터를 배포해야 합니다. BYOC Logs 설치 섹션에서 설치 방법을 확인하세요.
설정
파이프라인을 설정할 때 BYOC Logs 목적지를 구성하세요. 파이프라인은 UI에서 설정할 수 있으며, API 또는 Terraform을 사용하여 설정할 수 있습니다. 이 섹션에서 설명하는 단계는 UI에서 설정합니다.
선택적 설정
TLS 활성화
시크릿 관리의 경우 TLS 키 암호의 식별자만 입력하세요. 실제 값을 입력하지 마세요.
Toggle the switch to Enable TLS.
- If you are using Secrets Management, enter the identifier for the key pass. See Secret defaults for the default used if the field is left blank.
- Enter the following certificate and key files:
Server Certificate Path: The path to the certificate file that has been signed by your Certificate Authority (CA) root file in DER, PEM, or CRT (X.509).- (Optional)
CA Certificate Path: The path to the certificate file that is your Certificate Authority (CA) root file in DER, PEM, or CRT (X.509). - (Optional)
Private Key Path: The path to the .key private key file that belongs to your Server Certificate Path in DER, PEM, or CRT (PKCS #8) format. - Notes:
- The configuration data directory
/var/lib/observability-pipelines-worker/config/ is automatically appended to the file paths. See Advanced Worker Configurations for more information. - The file must be readable by the
observability-pipelines-worker group and user.
- (선택 사항) TLS 인증서 검증을 위한 서버 이름을 입력하세요.
If you enter secret identifiers and then choose to use environment variables, the environment variable is the identifier entered and prepended with DD_OP_. For example, if you entered PASSWORD_1 for a password identifier, the environment variable for that password is DD_OP_PASSWORD_1.
버퍼링
파이프라인 UI에서 BYOC Logs 목적지를 선택한 후 버퍼링을 구성할 수 있습니다.
Toggle the switch to enable Buffering Options. Enable a configurable buffer on your destination to ensure intermittent latency or an outage at the destination doesn’t create immediate backpressure, and allow events to continue to be ingested from your source. Disk buffers can also increase pipeline durability by writing data to disk, ensuring buffered data persists through a Worker restart. See Destination buffers for more information.
- If left unconfigured, your destination uses a memory buffer with a capacity of 500 events.
- To configure a buffer on your destination:
- Select the buffer type you want to set (Memory or Disk).
- Enter the buffer size and select the unit.
- Maximum memory buffer size is 128 GB.
- Maximum disk buffer size is 5 TB.
- Note: For Worker versions 2.20.x and older, the maximum disk buffer size is 500 GB.
- In the Behavior on full buffer dropdown menu, select whether you want to block events or drop new events when the buffer is full.
시크릿 기본값
These are the defaults used for secret identifiers and environment variables.
- BYOC Logs 엔드포인트 URL 식별자:
- Observability Pipelines가 로그를 전송하는 수집 엔드포인트를 참조합니다.
- 시크릿 관리자에서:
- 클러스터 URL을 정의합니다(예:
http://byoc-logs.acme.internal:7280). 참고: URL에는 포트가 포함되어야 합니다. - Worker가 엔드포인트 URL에
/api/v2/logs 및 /api/v1/validate를 추가하므로 전달 또는 방화벽 규칙을 사용하는 경우 이러한 엔드포인트가 허용되어야 합니다.
- 기본 식별자는
DESTINATION_CLOUDPREM_ENDPOINT_URL입니다.
- BYOC Logs TLS 암호 식별자(TLS가 활성화된 경우):
- 기본 식별자는
DESTINATION_CLOUDPREM_KEY_PASS입니다.
- BYOC Logs 엔드포인트 URL
- Observability Pipelines는 BYOC Logs 수집 엔드포인트로 로그를 전송합니다. 클러스터 URL을 정의합니다(예:
http://byoc-logs.acme.internal:7280). 참고: URL에는 포트가 포함되어야 합니다. - Worker가 엔드포인트 URL에
/api/v2/logs 및 /api/v1/validate를 추가하므로 전달 또는 방화벽 규칙을 사용하는 경우 이러한 엔드포인트가 허용되어야 합니다. - 환경 변수
DD_OP_DESTINATION_CLOUDPREM_ENDPOINT_URL에 저장됩니다.
- BYOC Logs TLS 암호(TLS가 활성화된 경우)
- 환경 변수
DD_OP_DESTINATION_CLOUDPREM_KEY_PASS에 저장됩니다.
상태 메트릭
모든 목적지에서 내보내는 구성 요소 메트릭 및 목적지 버퍼 메트릭은 파이프라인 사용량 메트릭 문서를 참조하세요. Datadog Logs 목적지 메트릭을 필터링하거나 그룹화하려면 태그 component_type:datadog_logs를 사용하세요.
목적지의 작동 방식
이벤트 배치 처리
이벤트 배치는 다음 중 하나의 파라미터를 충족하면 플러시됩니다. 자세한 내용은 목적지 이벤트 배치 처리를 참조하세요.
| 최대 이벤트 | 최대 크기(MB) | 시간 초과(초) |
|---|
| 1,000 | 4.25 | 5 |