Skip to main content

azure-blob-storage

Latest Versionv1.0.0
Input Content TypeAny
Incurs Usage

Sending data to Azure Blob Storage incurs usage costs after exceeding the free tier. See Golioth pricing for more information.

The azure-blob-storage destination sends data to an Azure Blob Storage container.

Parameters

ParameterTypeDescriptionRequired
conn_strstringThe connection string for an Azure Blob Storage storage
account.
containerstringThe container name.

Example Secrets

AZURE_BLOB_CONN_STR

BlobEndpoint=https://<StorageAccount>.blob.core.windows.net;SharedAccessSignature=<SharedAccessSignature>

Example Usage

    destination:
type: azure-blob-storage
version: v1
parameters:
conn_str: $AZURE_BLOB_CONN_STR
container: mycontainer

Example Input

Binary data displayed as hex encoded for documentation purposes only.

00000000: 5249 4646 ffff ffff 5741 5645 666d 7420  RIFF....WAVEfmt
00000010: 1000 0000 0100 0100 c05d 0000 80bb 0000 .........]......
00000020: 0200 1000 6461 7461 ffff ffff eaff edff ....data........
00000030: f0ff f5ff f9ff feff 0100 0300 0800 0b00 ................
00000040: 0b00 0c00 0a00 0800 0500 0100 fbff f8ff ................

Example Output

Input data is uploaded to the Azure Blob Storage container as a blob with content unmodified.

Binary data displayed as hex encoded for documentation purposes only.

00000000: 5249 4646 ffff ffff 5741 5645 666d 7420  RIFF....WAVEfmt
00000010: 1000 0000 0100 0100 c05d 0000 80bb 0000 .........]......
00000020: 0200 1000 6461 7461 ffff ffff eaff edff ....data........
00000030: f0ff f5ff f9ff feff 0100 0300 0800 0b00 ................
00000040: 0b00 0c00 0a00 0800 0500 0100 fbff f8ff ................

Blobs are created with name matching the event ID in a directory with name matching the device ID. An example directory structure is shown below.

/
├─ 664b9e889a9590ccfcf822b3/
│ ├─ 28ebd981-80ae-467f-b700-ba00e7c1e3ee
│ ├─ e47e5b46-d4e3-4bf1-a413-9fc71ec9f6b0
│ ├─ ...
├─ 66632a45658c93af0895a70e/
├─ .../