Connecting ClickHouse to Hashboard
Hashboard は、組織内の誰もがメトリクスを追跡し、実用的なインサイトを発見できるインタラクティブなデータ探索ツールです。Hashboardは、あなたのClickHouseデータベースにライブSQLクエリを発行し、自己サービスでのアドホックデータ探索のユースケースに特に役立ちます。

このガイドでは、HashboardとあなたのClickHouseインスタンスを接続する手順を説明します。この情報は、HashboardのClickHouse統合ドキュメントでも入手できます。
Pre-requisites
- 自分のインフラストラクチャ上またはClickHouse Cloud上にホストされたClickHouseデータベース。
- Hashboardアカウントとプロジェクト。
Steps to connect Hashboard to ClickHouse
1. Gather your connection details
To connect to ClickHouse with native TCP you need this information:
-
The HOST and PORT: typically, the port is 9440 when using TLS, or 9000 when not using TLS.
-
The DATABASE NAME: out of the box there is a database named
default
, use the name of the database that you want to connect to. -
The USERNAME and PASSWORD: out 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:

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

If you are using self-managed ClickHouse, the connection details are set by your ClickHouse administrator.
2. Add a new database connection in Hashboard
- あなたのHashboardプロジェクトに移動します。
- サイドナビゲーションバーの歯車アイコンをクリックして設定ページを開きます。
+ New Database Connection
をクリックします。- モーダルで「ClickHouse」を選択します。
- 先ほど集めた情報を使用して、Connection Name、Host、Port、Username、Password、およびDatabaseフィールドに入力します。
- 「テスト」をクリックして接続が正しく構成されていることを確認します。
- 「追加」をクリックします。
あなたのClickHouseデータベースは現在Hashboardに接続されており、データモデル、エクスプロレーション、メトリクス、およびダッシュボードの作成を進めることができます。これらの機能の詳細については、関連するHashboardのドキュメントをご覧ください。
Learn more
より高度な機能やトラブルシューティングについては、Hashboardのドキュメントをご覧ください。