製品をチェック

製品についての詳細情報や無償トライアルをご案内します:

CData Connect Server

データ連携でお困りですか?

お問い合わせ

Slingshot でAzure Data Lake Storage のデータ連携してダッシュボードを作成


デジタルワークプレイスSlingshot のダッシュボードでAzure Data Lake Storage データにCData Connect Server を使ってリアルタイム連携するレポートを作成。


杉本和也
リードエンジニア

azuredatalake ロゴ画像

Connect Server

connect ロゴ画像
Slingshot ロゴ画像

Slingshot はインフラジスティックス社が提供するオールインワンのデジタルワークプレイスサービスです。この記事では、CData Connect Server を経由してSlingshot からAzure Data Lake Storage に連携するダッシュボードを作成する方法を説明します。

CData Connect Server は、Azure Data Lake Storage データのクラウド to クラウドの仮想OData インターフェースを提供し、Slingshot からリアルタイムにAzure Data Lake Storage データへ連携することができます。

Azure Data Lake Storage の仮想OData API エンドポイントを作成

まずCData Connect Server でデータソースへの接続およびOData API エンドポイント作成を行います。

  1. CData Connect Server にログインして、Databases をクリックします。 Adding a database
  2. 利用できるデータソースアイコンから"Azure Data Lake Storage" を選択します。
  3. Azure Data Lake Storage に接続するために必要なプロパティを入力します。

    Authenticating to a Gen 1 DataLakeStore Account

    Gen 1 uses OAuth 2.0 in Azure AD for authentication.

    For this, an Active Directory web application is required. You can create one as follows:

    1. Sign in to your Azure Account through the .
    2. Select "Azure Active Directory".
    3. Select "App registrations".
    4. Select "New application registration".
    5. Provide a name and URL for the application. Select Web app for the type of application you want to create.
    6. Select "Required permissions" and change the required permissions for this app. At a minimum, "Azure Data Lake" and "Windows Azure Service Management API" are required.
    7. Select "Key" and generate a new key. Add a description, a duration, and take note of the generated key. You won't be able to see it again.

    To authenticate against a Gen 1 DataLakeStore account, the following properties are required:

    • Schema: Set this to ADLSGen1.
    • Account: Set this to the name of the account.
    • OAuthClientId: Set this to the application Id of the app you created.
    • OAuthClientSecret: Set this to the key generated for the app you created.
    • TenantId: Set this to the tenant Id. See the property for more information on how to acquire this.
    • Directory: Set this to the path which will be used to store the replicated file. If not specified, the root directory will be used.

    Authenticating to a Gen 2 DataLakeStore Account

    To authenticate against a Gen 2 DataLakeStore account, the following properties are required:

    • Schema: Set this to ADLSGen2.
    • Account: Set this to the name of the account.
    • FileSystem: Set this to the file system which will be used for this account.
    • AccessKey: Set this to the access key which will be used to authenticate the calls to the API. See the property for more information on how to acquire this.
    • Directory: Set this to the path which will be used to store the replicated file. If not specified, the root directory will be used.
    Configuring a connection (Azure Data Lake Storage is shown).
  4. Test Database をクリックします。
  5. Permission -> Add をクリックして、新しいユーザーを追加し、適切な権限を指定します。
  6. API タブをクリックして OData API エンドポイントが生成されていることを確認します。

コネクションとOData エンドポイントを設定したら、Slingshot からAzure Data Lake Storage データに接続できます。

Slingshot にデータソースを追加する

CData Connect Server の設定が完了したら、Slingshot 側に接続設定を追加しましょう。

  1. Slingshot の対象のワークスペースに移動して「データソース」タブに移動し「+データソース」をクリックします。
  2. データソースの一覧から利用したいサービスを選択します。ここで先程CData Connect Server で設定したOData エンドポイントの接続を追加します。
  3. 「URL」にOData エンドポイントのURL を指定し「先制認証を使用する」にチェックを入れます。その上で「資格情報」を追加しましょう。
  4. 資格情報の種類は「汎用資格情報」になります。合わせてCData Connect Server のユーザー名を入力し、パスワードには先程生成したトークンを入力します。
  5. あとは「データソースの追加」をクリックすれば、データソースの接続設定は完了になります。

ダッシュボードを作成する

すべての準備が整ったのでAzure Data Lake Storage のデータを活用してダッシュボードを作成していきましょう。

  1. 「ダッシュボード」タブに移動して「+ダッシュボード」をクリックします。
  2. 先程追加したCData Connect Server へのOData フィードデータソースが表示されるので、これを選択します。
  3. すると、事前にCData Connect Server 上で登録しておいたテーブルの一覧がエンティティのセットとして表示されるので、任意のエンティティを選択しましょう。
  4. これでSlingshot 上に対象のデータがシームレスに読み込まれます。あとは可視化するためのラベルや値を選択することで、以下のように簡単にビジュアライズが実施できます。

このように、CData Connect Server を経由することで、API を意識することなくSlingshot でダッシュボードを作成できます。他にも多くのデータソースに対応するCData Connect Server の詳細をこちらからご覧ください。