HTTP 클라이언트 목적지

이용 가능:

로그 | 메트릭

개요

Observability Pipelines의 HTTP 클라이언트 목적지를 사용하여 로깅 플랫폼 또는 SIEM과 같은 HTTP 클라이언트로 로그를 전송합니다.

목적지 설정

시크릿 관리의 경우: HTTP 클라이언트 URI에 대한 식별자와, 해당하는 경우 기본 인증을 위한 사용자 이름 및 비밀번호, TLS 키 암호에 대한 식별자만 입력하세요. 실제 값은 입력하지 마세요.

파이프라인을 설정할 때 HTTP 클라이언트 목적지를 구성하세요. 파이프라인은 UI에서 설정할 수 있으며, API 또는 Terraform을 사용하여 설정할 수 있습니다. 이 섹션에서 설명하는 단계는 UI에서 설정합니다.

파이프라인 UI에서 HTTP 클라이언트 목적지를 선택한 후 다음 단계를 따르세요.

  1. HTTP 클라이언트 URI에 대한 식별자를 입력하세요. 비워두면 기본값이 사용됩니다.
  2. 인증 전략(None, Basic 또는 Bearer)을 선택하세요. 선택한 방식에 따라 다음을 설정하세요.
    • Basic:
      • HTTP 클라이언트 사용자 이름에 대한 식별자를 입력하세요. 비워두면 기본값이 사용됩니다.
      • HTTP 클라이언트 비밀번호에 대한 식별자를 입력하세요. 비워두면 기본값이 사용됩니다.
    • Bearer:
      • HTTP 클라이언트 토큰에 대한 식별자를 입력하세요. 비워두면 기본값이 사용됩니다.
  3. JSON만 사용 가능한 인코더입니다.
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.

선택적 설정

압축을 활성화

스위치를 Enable Compression으로 전환하세요. 활성화된 경우:

  1. GZIP 압축 알고리즘만 사용할 수 있습니다.
  2. 사용할 압축 수준을 선택하세요.

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:
    1. Select the buffer type you want to set (Memory or Disk).
    2. Enter the buffer size and select the unit.
      1. Maximum memory buffer size is 128 GB.
      2. Maximum disk buffer size is 5 TB.
        • Note: For Worker versions 2.20.x and older, the maximum disk buffer size is 500 GB.
    3. 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.

  • HTTP 클라이언트 URI 엔드포인트 식별자:
    • 기본 식별자는 DESTINATION_HTTP_CLIENT_URI입니다.
  • HTTP 클라이언트 TLS 암호 식별자(TLS가 활성화된 경우):
    • 기본 식별자는 DESTINATION_HTTP_CLIENT_KEY_PASS입니다.
  • 기본 인증을 사용하는 경우:
    • HTTP Client 사용자 이름 식별자:
      • 기본 식별자는 DESTINATION_HTTP_CLIENT_USERNAME입니다.
    • HTTP Client 비밀번호 식별자:
      • 기본 식별자는 DESTINATION_HTTP_CLIENT_PASSWORD입니다.
  • Bearer 인증을 사용하는 경우:
    • HTTP Client Bearer 토큰 식별자:
      • 기본 식별자는 DESTINATION_HTTP_CLIENT_BEARER_TOKEN입니다.
  • HTTP/S client URI endpoint:
    • The default environment variable is DD_OP_DESTINATION_HTTP_CLIENT_URI.
  • HTTP/S Client TLS passphrase (when enabled):
    • The default environment variable is DD_OP_DESTINATION_HTTP_CLIENT_KEY_PASS.
  • If you are using basic authentication:
    • HTTP/S endpoint authentication username and password.
    • The default environment variable is DD_OP_DESTINATION_HTTP_CLIENT_USERNAME and DD_OP_DESTINATION_HTTP_CLIENT_PASSWORD.
  • If you are using bearer authentication:
    • HTTP/S endpoint bearer token.
    • The default environment variable is DD_OP_DESTINATION_HTTP_CLIENT_BEARER_TOKEN.

상태 메트릭

모든 목적지에서 내보내는 구성 요소 메트릭 및 목적지 버퍼 메트릭은 파이프라인 사용량 메트릭 설명서를 참조하세요. HTTP Client 목적지 메트릭을 필터링하거나 그룹화하려면 태그 component_type:http를 사용하세요.

목적지의 작동 방식

이벤트 배치 처리

이벤트 배치는 다음 조건 중 하나가 발생하면 플러시됩니다. 자세한 내용은 목적지 이벤트 배치 처리를 참조하세요.

최대 이벤트최대 크기(MB)타임아웃(초)
1,00011