Find your tenant name
- Navigate to portal.azure.com.
- In the left sidebar, select Azure Active Directory.
- Under Properties, your tenant name is the Directory ID value.
Your tenant name is also available from the URL when using the classic portal. It is the text in between (not including) the
Unable to login
If you experience an error logging in while trying to install the Azure integration, contact Datadog support. When possible, attach a screenshot.
Ensure you completed the installation process, which includes giving read permissions to the Azure application for the subscriptions you want to monitor.
For ARM deployed virtual machines, you must also turn on Diagnostics and select the VM metrics you would like to collect. See Enable Diagnostics below for instructions.
For other missing metrics, contact Datadog support with the following information about the metric:
- resource group
- resource name
- subscription ID or subscription name
Attach a screenshot of a graph from Azure Monitor that shows a graph of the metric. Important: Graph 1-minute data points in the screenshot.
Turning on Diagnostics allows ARM deployed VMs to collect logging information which includes metrics for CPU, Network, etc. Follow these instructions:
Navigate to the Azure portal and locate your VM.
Click on Diagnostics settings under the Monitoring section.
Pick a storage account and click Enable guest-level monitoring.
By default, basic metrics and logs are enabled. Adjust based on your preferences.
Click Save to save any changes.
Automated log collection
If you have Azure resources with the same resource name as one of the default parameters, it can lead to naming conflicts. Azure does not allow resources to share resource names within an individual subscription. Datadog recommends renaming the default parameter with a unique name that does not already exist within your environment.
For example, use the -EventhubName flag to change the default name of the eventhub resource, if you already possess an eventhub named ‘datadog-eventhub’.
./resource_deploy.ps1 -ApiKey <your_api_key> -SubscriptionId <your_subscription_id> -EventhubName <new-name>
Note: Navigate to the Optional Parameters section to find the list of configurable parameters.
Note: If you are re-running the script due to this failure, it is also advised that you remove the entire resource group to create a fresh execution.
Unregistered resource provider
If your script execution is failing due to the error The subscription is not registered to use namespace ‘Microsoft.EventHub’:
Azure has resource providers for each of its services, for example:
Microsoft.EventHub for the Azure EventHub. If your Azure subscription is not registered to a required resource provider the script fails. You can fix this issue by registering with the resource provider. Run this command in CloudShell.
az provider register --namespace Microsoft.EventHub
Exceeding log quota
Did you install the script successfully, but you are still not seeing activity/platform logs within the Logs Explorer?
Ensure that you have not exceeded your daily quota for log retention.
Note: It is advised that you take at least five minutes after the execution of the script to start looking for logs in the Logs Explorer.