メインコンテンツへスキップ
メインコンテンツへスキップ

ClickHouse を Hashboard に接続する

Community Maintained

Hashboard は、組織内の誰でもメトリクスを追跡し、実行可能なインサイトを発見できるインタラクティブなデータ探索ツールです。Hashboard は ClickHouse データベースに対してライブの SQL クエリを発行し、セルフサービス型のアドホックなデータ探索に特に役立ちます。

インタラクティブなクエリビルダーと可視化を表示している Hashboard のデータエクスプローラーインターフェース

このガイドでは、Hashboard を ClickHouse インスタンスに接続する手順を順を追って説明します。この情報は Hashboard の ClickHouse 連携ドキュメント にも掲載されています。

前提条件

Hashboard を ClickHouse に接続する手順

1. 接続情報を収集する

To connect to ClickHouse with native TCP you need this information:

Parameter(s)Description
HOST and PORTTypically, the port is 9440 when using TLS, or 9000 when not using TLS.
DATABASE NAMEOut of the box there is a database named default, use the name of the database that you want to connect to.
USERNAME and PASSWORDOut of the box the username is default. Use the username appropriate for your use case.

The details for your ClickHouse Cloud service are available in the ClickHouse Cloud console. Select the service that you will connect to and click Connect:

ClickHouse Cloud service connect button

Choose Native, and the details are available in an example clickhouse-client command.

ClickHouse Cloud Native TCP connection details

If you are using self-managed ClickHouse, the connection details are set by your ClickHouse administrator.

2. Hashboard に新しいデータベース接続を追加する

  1. Hashboard プロジェクト に移動します。
  2. サイドナビゲーションバーの歯車アイコンをクリックして、Settings ページを開きます。
  3. + New Database Connection をクリックします。
  4. モーダルで「ClickHouse」を選択します。
  5. 先ほど収集した情報を使って、Connection NameHostPortUsernamePasswordDatabase フィールドを入力します。
  6. Test をクリックして、接続が正しく構成されていることを確認します。
  7. Add をクリックします。

これで ClickHouse データベースが Hashboard に接続され、Data ModelsExplorationsMetricsDashboards の作成に進むことができます。これらの機能の詳細については、対応する Hashboard ドキュメントを参照してください。

詳細情報

高度な機能やトラブルシューティングの詳細については、Hashboard のドキュメントを参照してください。