Datadog リソースによる Azure ログの送信

概要

このガイドを使用して、Azure の Datadog リソースを介して、Azure サブスクリプションから Datadog に直接ログを設定し、管理します。3 種類の Azure ログの収集を管理できます。以下のセクションで説明と詳細をご覧ください。

: Azure の Datadog リソースは、Datadog US3 サイトの Datadog 組織でのみ利用可能です。その他の Datadog サイトを使用している場合は、構成オプションについて Azure ログを Datadog に送信のガイドを参照してください。

アクティビティログ

コントロールプレーンにおけるリソースの運用に関するインサイトを提供します。アクティビティログを使用して、書き込み作業の何、誰、いつを決定します (PUTPOSTDELETE)。

アクティビティログを Datadog に送信するには、Send subscription activity logs を選択します。このオプションを有効にしない場合、アクティビティログは Datadog に送信されません。

When log collection is enabled, the Datadog resource automatically modifies the logging configurations of App Services. Azure triggers a restart for App Services when their logging configurations change.

Azure resource logs

Provide insight into operations taken on Azure resources at the data plane. For example, getting a secret from a key vault or making a request to a database are data plane operations. The content of resource logs varies by the Azure service and resource type.

To send Azure resource logs to Datadog, select Send Azure resource logs for all defined resources. The types of Azure resource logs are listed in the Azure Monitor Resource Log categories. When this option is selected, all resource logs are sent to Datadog, including any new resources created in the subscription.

オプションで、Azure リソースタグを使用して Datadog にログを送信する Azure リソースを絞り込むことができます。

ログ送信のタグルール

  • include タグのある Azure リソースは Datadog にログを送信します。
  • exclude タグのある Azure リソースは Datadog にログを送信しません。
  • 包含および除外ルールの間で競合がある場合は、除外が優先されます。

たとえば、下記のスクリーンショットは、Datadog = True とタグ付けされた仮想マシン、仮想マシンスケールセット、アプリサービスプランのみがメトリクスおよびログを Datadog に送信するというタグルールを示したものです。

Azure US3 Datadog リソースログの作成

Azure Active Directory (Azure AD) logs

Azure AD logs contain the history of sign-in activity and an audit trail of changes made in Azure AD for a particular tenant. To send these logs to Datadog, first complete the process to create a Datadog resource. Once you have a Datadog resource in Azure, follow the setup steps in the Datadog in the Azure Portal guide.

The Datadog resource in Azure is only available for organizations on Datadog's US3 site. If you're using a different Datadog site, see the Send Azure Logs to Datadog guide for configuration options. If you're using the Datadog US3 site, change the site selector on the right of this page.

その他の参考資料

お役に立つドキュメント、リンクや記事:

PREVIEWING: bartol/timeshift-docs