Storage Management for Microsoft Azure Blob Storage

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
Join the Preview!

Storage Management is in Preview. Request access to start monitoring your object storage.

Request Access

Setup

Azure Marketplace integration is not supported with Storage Management. You must use an App Registration to connect Azure to Datadog.
  1. Go to Storage Management > Azure Blob Storage > Enable buckets.
  2. Select the storage accounts you want to enable for Storage Management.
  3. Run the CLI commands in your Azure Cloud Shell generated at the bottom of the table. Before running the script, set your shell environment to Bash.
  4. After running the script, click Confirm and wait 24-48 hours for Storage Management metrics to become available.

For Each Storage Account you wish to monitor, follow all of the steps here:

Create a blob inventory policy

  1. In the Azure portal, navigate to your Storage Account.
  2. Go to Data management > Blob inventory.
  3. Click Add.
  4. Configure the policy:
    • Name: datadog-storage-monitoring
    • Destination container:
      • Click Create new, and enter the name datadog-storage-monitoring.
    • Object type to inventory: Blob
    • Schedule: Daily
    • Blob types: Select Block blobs, Append blobs, and Page blobs.
    • Subtypes: Select Include blob versions
    • Schema fields: Select All, or ensure that at least the following are selected:
      • Name
      • Access tier
      • Last modified
      • Content length
      • Server encrypted
      • Current version status
      • Version ID
    • Exclude prefix: datadog-storage-monitoring
  5. Click Add.

Add the role assignment

  1. In the Azure portal, navigate to your Storage Account.
  2. Go to Data storage > Containers.
  3. Click on the datadog-storage-monitoring container.
  4. Click on Access control (IAM) in the left-hand menu.
  5. Click Add > Add role assignment.
  6. Fill out the role assignment:
    • Role: Select Storage Blob Data Reader. Click Next.
    • Assign access to: User, group, or service principal.
    • Members: Click + Select members and search for your App Registration by its name and select it.
    • Note: This should be an App Registration set up in the Datadog Azure integration. Keep in mind the Client ID for later.
  7. Click Review + assign.
  8. Go to Datadog > Storage Management > Azure Blob Storage > Enable buckets. Select the storage accounts you enabled inventory on and click Confirm.

Further reading