メインコンテンツまでスキップ
メインコンテンツまでスキップ

Connecting ClickHouse to Hashboard

Community Maintained

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

Hashboardのデータエクスプローライターフェース、インタラクティブなクエリビルダーとビジュアライゼーションを表示

このガイドでは、HashboardとあなたのClickHouseインスタンスを接続する手順を説明します。この情報は、HashboardのClickHouse統合ドキュメントでも入手できます。

Pre-requisites

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:

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. Add a new database connection in Hashboard

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

あなたのClickHouseデータベースは現在Hashboardに接続されており、データモデルエクスプロレーションメトリクス、およびダッシュボードの作成を進めることができます。これらの機能の詳細については、関連するHashboardのドキュメントをご覧ください。

Learn more

より高度な機能やトラブルシューティングについては、Hashboardのドキュメントをご覧ください。