Search results

Connecting Bold BI to Azure Blob data source

The Bold BI dashboard designer supports connecting to Azure Blob web services through REST API.

Choose Azure Blob data source

To configure the Azure Blob data source, follow the below steps:

  1. Click the Data Sources button in the configuration panel to add a new data connection.

    Data source icon

  2. Click CREATE NEW to launch a new connection from the connection panel.

  3. Select the Azure Blob connection in the connection panel.

    Choose data source

NOTE: You can also create a data source from the home page by clicking the Data Sources menu from the left menu panel and selecting Create Data Source from the data sources page.

Choose data source from server

Create Azure Blob data source

Once you click the data source, the NEW DATA SOURCE configuration panel opens. Follow the below steps to create Azure Blob data source.

  1. Enter a name and optional description for the data source.

  2. Enter a valid Azure Blob REST API endpoint in the URL textbox. Refer to the Azure Blob API documentation for more details.

    Example: https://<:your_storage_account_name>.blob.core.windows.net<:your_end_point>

  3. Select the GET method for the REST API in the Method combo box.

  4. The default value for x-ms-version in the Headers section is 2014-02-14. Refer to other available versions.

  5. Choose a time interval for Refresh Settings using the combo box to periodically trigger the REST API request to keep the data in sync with the dashboard.

  6. Choose the data type based on the file extension (JSON / CSV / XML) that you have in the REST API endpoint.

  7. Choose Basic http Authentication under Authentication Type and input a valid Account Key.

    DataSourcesView

You can also edit the connection information set here using the Edit Connection option.

How do I get Storage Account Key for connecting Azure Blob data source?

  1. In the Azure Portal, click on Storage accounts and select the storage account.
  2. Go to Settings -> Access keys and retrieve the access keys.

Account key

How do I get Container name?

  1. In the Azure Portal, click on Storage accounts and select the desired storage account.
  2. Navigate to Overview -> Services -> Blobs and select the container that contains the file you wish to extract.

Additional information

Refresh Settings The period of time before the next refresh call is triggered. This will automatically trigger a call to the API configured in the data source to keep the data up to date. If you do not want to sync your new data, choose ‘Never’.

Setting up the URL

  1. Replace <:your_storage_account_name> in the URL with the account name.

    https://<:your_storage_account_name>.blob.core.windows.net/

For more information on the API endpoints available for this data source, please refer to the official API Documentation.

Sample queries

Data of a specific file from a container

https://<:your_storage_account_name>.blob.core.windows.net/mycontainer/customers.csv

https://<:your_storage_account_name>.blob.core.windows.net/mycontainer/orders.json

https://<:your_storage_account_name>.blob.core.windows.net/mycontainer/salesdata.xml

Preview and data import

  • Click Preview & Connect to connect with the configurations that have been set.

  • The Choose Schema(s) dialog opens. The schema represents the key fields of data retrieved from the Azure Blob Rest API request. This dialog displays a list of schemas in a treeview and its corresponding values in a grid for preview. Select the required schema(s) from the treeview to use in the designer and click Connect.

    Preview

  • Now, the data design view page with the selected table schema opens. Drag and drop the table. Query Editor

  • Click Save to save the data source with a relevant name.

Connect using custom attribute and dashboard parameter

We have added support for custom attributes and dashboard parameters to the data source connection. You can connect to the data source using custom attributes or dashboard parameters.

Custom Attribute

Custom

Dashboard Parameter

Dashboard Parameter

Note: Refer to the Dashboard Parameter Documentation and Custom Attributes Documentation for more details.

Data Transformation

Editing a Data Connection

Dashboard Designer Walkthrough

Azure Blob Integration