Azureblob Receiver
contrib
Maintainers: @eedorenko, @mx-psi, @dyl10s
Source: opentelemetry-collector-contrib
Supported Telemetry
Overview
This receiver reads logs and trace data from Azure Blob Storage.Modes of Operation
The receiver supports two modes of operation:- Event Hub mode (recommended): Uses Azure Event Hub to receive notifications when new blobs are created. This is more efficient as it processes blobs immediately upon creation.
- Polling mode: Periodically polls the blob containers for new blobs. Use this mode when Event Hub is not available or not desired. Blobs are processed and deleted every 10 seconds.
event_hub.endpoint is configured.
Configuration
The following settings can be optionally configured:event_hub:endpoint:(no default): Azure Event Hub endpoint triggering on theBlob Createevent. If not specified, the receiver uses polling mode.
auth(default = connection_string): Specifies the used authentication method. Supported values areconnection_string,service_principal,default.cloud(default = “AzureCloud”): Defines which Azure Cloud to use when using theservice_principalauthentication method. Value is eitherAzureCloudorAzureUSGovernment.logs:container_name:(default = “logs”): Name of the blob container with the logs
traces:container_name:(default = “traces”): Name of the blob container with the traces
connection_string:Azure Blob Storage connection key, which can be found in the Azure Blob Storage resource on the Azure Portal.
service_principal:tenant_idclient_idclient_secret
storage_account_url:Azure Storage Account url
Example configurations
Using Event Hub mode with connection string authentication:Behavior
In Event Hub mode, the receiver subscribes to blob events published by Azure Blob Storage and handled by Azure Event Hub. When it receives aBlob Create event, it reads the logs or traces from the corresponding blob and deletes it after processing.
In polling mode, the receiver periodically lists all blobs in the configured containers, processes each blob, and deletes it after processing.
Configuration
Example Configuration
Last generated: 2026-04-13