The Azure Native integration uses the Datadog resource in Azure to streamline management and data collection for your Azure environment. Datadog recommends using this method when possible. This method involves creating the azurerm_datadog_monitor resource and assigning it the Monitoring Reader role to link your Azure subscription(s) to your Datadog organization. This replaces the App Registration credential process for metric collection and Event Hub setup for log forwarding.
Setup
Note: To set up the Azure Native integration, you must be an Owner on any Azure subscriptions you want to link, and Admin for the Datadog org you are linking them to.
Once the Datadog resource is set up in your Azure account, configure log collection through the Azure Portal. See Configure metrics and logs in the Azure documentation for more information.