| title | Azure Storage Destination | |||||||
|---|---|---|---|---|---|---|---|---|
| disable_toc | false | |||||||
| products |
|
{{< product-availability >}}
Use the Azure Storage destination to send logs to an Azure Storage bucket. If you want to send logs to Azure Storage for archiving and rehydration, you must configure Log Archives. If you don't want to rehydrate logs in Datadog, skip to Set up the destination for your pipeline.
This step is only required if you want to send logs to Azure Storage in Datadog-rehydratable format for archiving and rehydration, and you don't already have a Datadog Log Archive configured for Observability Pipelines. If you already have a Datadog Log Archive configured or don't want to rehydrate logs in Datadog, skip to Set up the destination for your pipeline.
You need to have Datadog's Azure integration installed to set up Datadog Log Archives.
{{% observability_pipelines/configure_log_archive/azure_storage/instructions %}}
Set up the Azure Storage destination and its environment variables when you set up an Archive Logs pipeline. The information below is configured in the pipelines UI.
- Enter the identifier for your Azure connection string. If you leave it blank, the default is used.
- Note: Only enter the identifier for the connection string. Do not enter the actual connection string.
- Enter the name of the Azure container you created earlier.
Enter a prefix that you want to apply to all key objects.
- Prefixes are useful for partitioning objects. For example, you can use a prefix as an object key to store objects under a particular directory. If using a prefix for this purpose, it must end in
/to act as a directory path; a trailing/is not automatically added. - See template syntax if you want to route logs to different object keys based on specific fields in your logs.
- Note: Datadog recommends that you start your prefixes with the directory name and without a lead slash (
/). For example,app-logs/orservice-logs/.
- Note: Datadog recommends that you start your prefixes with the directory name and without a lead slash (
{{% observability_pipelines/destination_buffer %}}
{{% observability_pipelines/set_secrets_intro %}}
{{< tabs >}} {{% tab "Secrets Management" %}}
- Azure connection string identifier:
- References the connection string that gives the Worker access to your Azure Storage bucket.
- The default identifier is
DESTINATION_DATADOG_ARCHIVES_AZURE_BLOB_CONNECTION_STRING.
{{% /tab %}}
{{% tab "Environment Variables" %}}
{{% observability_pipelines/configure_existing_pipelines/destination_env_vars/datadog_archives_azure_storage %}}
{{% /tab %}} {{< /tabs >}}
A batch of events is flushed when one of these parameters is met. See event batching for more information.
| Maximum Events | Maximum Size (MB) | Timeout (seconds) |
|---|---|---|
| None | 100 | 900 |