This product is not supported for your selected Datadog site. ().

Observability Pipelines の Elasticsearch Destination を使用して、ログを Elasticsearch に送信します。

セットアップ

パイプラインをセットアップする 際に、Elasticsearch Destination とその環境変数を設定します。以下の情報は Pipelines UI で構成します。

Destination を設定する

The following fields are optional:

  1. Enter the name for the Elasticsearch index. See template syntax if you want to route logs to different indexes based on specific fields in your logs.
  2. Enter the Elasticsearch version.
  3. Optionally, toggle the switch to enable Buffering Options.
    Note: Buffering options is in Preview. Contact your account manager to request access.
    • If left disabled, the maximum size for buffering is 500 events.
    • If enabled:
      1. Select the buffer type you want to set (Memory or Disk).
      2. Enter the buffer size and select the unit.

環境変数を設定する

  • Elasticsearch authentication username:
    • Stored in the environment variable: DD_OP_DESTINATION_ELASTICSEARCH_USERNAME.
  • Elasticsearch authentication password:
    • Stored in the environment variable: DD_OP_DESTINATION_ELASTICSEARCH_PASSWORD.
  • Elasticsearch endpoint URL:
    • Stored in the environment variable: DD_OP_DESTINATION_ELASTICSEARCH_ENDPOINT_URL.

Destination の動作

イベントのバッチ処理

以下のいずれかのパラメーターを満たすと、イベントのバッチがフラッシュされます。詳細は イベントのバッチ処理 を参照してください。

Max EventsMax Bytesタイムアウト (秒)
なし10,000,0001