개요
Observability Pipelines의 소켓 대상을 사용하여 소켓 엔드포인트로 로그를 전송하세요.
설정
Secrets Management의 경우: 소켓 주소의 식별자와 키 패스(해당하는 경우)만 입력합니다. 실제 값을 입력하지 마세요.
소켓 대상은 파이프라인을 설정할 때 구성합니다. 파이프라인은 UI에서, API를 사용해서, 또는 Terraform을 사용해서 설정합니다. 이 섹션에서 설명한 단계는 UI로 구성했습니다.
파이프라인 UI에서 소켓 대상을 선택한 다음:
- 주소의 식별자를 입력합니다. 비워두면 기본값이 사용됩니다.
- Mode 드롭다운 메뉴에서 사용할 소켓 유형을 선택합니다.
- Encoding 드롭다운 메뉴에서 출력 형식으로 JSON 또는 Raw message를 선택합니다.
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.
선택적 설정
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.
버퍼링
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.
- 소켓 주소 식별자:
- Observability Pipelines Worker가 처리된 로그를 전송하는 주소를 참조합니다.
- 기본 식별자는
DESTINATION_SOCKET_ADDRESS입니다.
- 소켓 TLS 암호 식별자(TLS가 활성화된 경우):
- 기본 식별자는
DESTINATION_SOCKET_KEY_PASS입니다.
- Socket address:
- The address to which the Observability Pipelines Worker sends processed logs.
- The default environment variable is
DD_OP_DESTINATION_SOCKET_ADDRESS.
- TLS passphrase:
- The default environment variable is
DD_OP_DESTINATION_SOCKET_KEY_PASS.
대상의 작동 방식
이벤트 배치 처리
소켓 대상이 이벤트를 배치 처리하지 않습니다.