利用可能な対象:

ログ | メトリクス

概要

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 クライアントのユーザー名の識別子:
      • デフォルトの識別子は DESTINATION_HTTP_CLIENT_USERNAME です。
    • HTTP クライアントのパスワードの識別子:
      • デフォルトの識別子は DESTINATION_HTTP_CLIENT_PASSWORD です。
  • Bearer 認証を使用している場合:
    • HTTP クライアントの 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.

正常性メトリクス

すべての送信先から送信される コンポーネントメトリクス および 送信先バッファメトリクス については、Pipelines 使用状況メトリクス のドキュメントを参照してください。HTTP クライアント送信先メトリクスでフィルタリングまたはグループ化するには、タグ component_type:http を使用します。

送信先の動作

イベントのバッチ処理

イベントのバッチは、以下のいずれかの条件が発生したときに起動されます。詳細については、送信先のイベントのバッチ処理 を参照してください。

最大イベント数最大サイズ (MB)タイムアウト (秒)
1,00011