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.

環境変数を設定する

  • Elasticsearch 認証ユーザー名:
    • 環境変数 DD_OP_DESTINATION_ELASTICSEARCH_USERNAME に格納されています。
  • Elasticsearch 認証パスワード:
    • 環境変数 DD_OP_DESTINATION_ELASTICSEARCH_PASSWORD に格納されています。
  • Elasticsearch エンドポイント URL:
    • 環境変数 DD_OP_DESTINATION_ELASTICSEARCH_ENDPOINT_URL に格納されています。

Destination の動作

イベントのバッチ処理

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

Max EventsMax Bytesタイムアウト (秒)
なし10,000,0001
PREVIEWING: guacbot/translation-pipeline