This product is not supported for your selected Datadog site. ().
利用可能な対象:

ログ

概要

Observability Pipelines の Socket 送信先を使用して、エンドポイントにログを送信します。

セットアップ

シークレット管理の場合: ソケットアドレスの識別子と、該当する場合はキーパスのみを入力します。実際の値は入力しないでください。

パイプラインをセットアップする際に、Socket 送信先を構成します。パイプラインは、UI、API、または Terraform を使用してセットアップできます。このセクションの手順では、UI で設定します。

パイプライン UI で Socket 送信先を選択したら、次のようにします。

  1. アドレスの識別子を入力します。空白のままにすると、デフォルトが使用されます。
  2. ドロップダウンメニューModeで、使用するソケットタイプを選択します。
  3. ドロップダウンメニュー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:
    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.

  • ソケットアドレスの識別子:
    • 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.

送信先の動作

イベントのバッチ処理

Socket 送信先はイベントをバッチ処理しません。