[object Object] Icon

Encoding
Learn how to create, start, manage and modify Encodings

[object Object] Icon

Player
Learn how to create, start, manage and modify Players

[object Object] Icon

Analytics
Learn how to create, start, manage and modify Analyticss

Docs Home
User shortcuts for search
Focus by pressing f
Hide results by pressing Esc
Navigate via   keys

Wed May 19 2021

How to create a Microsoft Azure Storage Output for Analytics exports

OverviewLink Icon

In order to export Analytics data to a Microsoft Azure Blob Storage, an Output needs to be configured within the Bitmovin API. This guide will walk you through the required steps.

To do so you'll need the following pre-requisites:

  • A Microsoft Azure account
  • A Microsoft Azure Blob Storage account with READ/WRITE privileges

To meet the necessary requirements for creating the Microsoft Azure Blob Storage please follow the official documentation on Introduction to Blob storage - Azure Storage

Creating the Analytics Export Output Resource for Azure StorageLink Icon

Next you simply have to create the analytics output resource using either our OpenAPI Clients or CURL on POST /v1/analytics/outputs/azure:

1curl -X POST \
2 https://api.bitmovin.com/v1/analytics/outputs/azure \
3 -H 'Content-Type: application/json' \
4 -H 'X-Api-Key: <YOUR API KEY>' \
5 -d '{
6 "name": "<Descriptive name for your export resource>",
7 "accountName": "<Your Azure account name>",
8 "accountKey": "<Your Azure account key>",
9 "container": "<Your Azure container name>"
10}'

Important: Make sure you are creating this resource in the appropriate Organization if you have been invited into a Multi-Tenant Organization. Your personal API Key will by default create all resources in your user's organization and not in the organization you have been invited to. You can pass the X-Tenant-Org-Id HTTP Header or use the withTenantOrgId() API to indicate which Organization your API call is targeting (see Using an API SDK with different Organisations ).

The response will contain an id for the newly created Output which you can then use to trigger Analytics Exports.

What's next?Link Icon

What's next? Now that you have an GCS Service-Account Output for Bitmovin Analytics available, you can export your Bitmovin analytics Data to it :)

Give us feedback