Datadog Lambda Forwarder ログを Observability Pipelines に送信する
This product is not supported for your selected
Datadog site. (
).
概要
このドキュメントでは、Datadog Lambda Forwarder を使用して AWS ベンダーログを Observability Pipelines に送信する方法を説明します。セットアップの手順は以下のとおりです。
詳細については、Datadog Forwarder を参照してください。
注: Datadog Forwarder は、ddsource および ddtags でタグ付けされたログを送信し、source および tags ではありません。これらのログのプロセッサークエリまたはフィルターを定義する際は、ddsource および ddtags を使用してください。
パイプラインをセットアップする
- Navigate to Observability Pipelines.
- Select the HTTP Server source:
- Select None in the dropdown menu for Authorization strategy.
- Select JSON in the dropdown menu for Decoding.
- After you set up your destinations and processors, click Next: Install.
- On the Install page, enter the HTTP/S Server listener address, such as
0.0.0.0:9997. - Follow the rest of the instructions on the page to install the Worker based on your platform.
Datadog Lambda Forwarder をデプロイする
Follow the Datadog Forwarder CloudFormation installation instructions to deploy the Datadog Forwarder. After you have filled in DdApiKey and selected the appropriate DdSite, go to the Log Forwarding (Optional) section. Enter the following information in that section to configure the Forwarder for sending logs to Observability Pipelines:
- In the DdUrl field, enter the DNS or IP address of the load balancer or your VM. Note: Datadog recommends fronting your Worker with a load balancer.
- Enter the port in the DdPort field, such as
9997. - If you want to encrypt traffic from the Datadog Forwarder to your Observability Pipelines Worker load balancer, you need to create an HTTPS listener and manage a certificate on your load balancer. Consult your cloud provider’s documentation. For example in AWS, see Create an HTTPS listener for your Application Load Balancer for more information.
- If you do not need to maintain encryption between the Datadog Forwarder and load balancer, select true in the DdNoSsl dropdown menu.
- Click Create stack, and wait for the creation to complete.
- You can find the installed forwarder Lambda function under the stack’s Resources tab with the logical ID
Forwarder. - Set up triggers for the installed Datadog Forwarder.
健全性メトリクス
すべてのソースから発行される コンポーネントメトリクス および ソースバッファメトリクス については、Pipelines 使用状況メトリクス のドキュメントを参照してください。Lambda Forwarder から Observability Pipelines にログを送信するために HTTP Server ソースを使用しているため、関連するメトリクスをフィルタリングするには component_type:http_server タグを使用してください。