使用 Tableau 資料來源檔案探索監視資料

Tableau Resource Monitoring Tool 包含內建圖表,可供您用於監視和分析 Tableau Server 的健康狀況和效能。資料 Tableau Resource Monitoring Tool 槓桿可以下載為 Tableau 資料來源 (.tds) 檔案,以便在 Tableau Desktop 中進行探索。可以使用 Resource Monitoring Tool Web 介面從 Admin 功能表下載 .tds 檔案。此方法適用於本機和外部存放庫設定。

以下是您可以下載的 Tableau 資料來源 (.tds) 檔案的清單:

  • 背景工作:包含排定背景程式工作的相關資訊,例如擷取重新整理、訂閱和流程。
  • 資料查詢:Tableau Server 執行之所有查詢的相關資訊。
  • 閘道要求:Tableau Server 處理的 HTTP 要求,包括 VizQL Server 工作階段詳細資訊。
  • 事件:Resource Monitoring Tool 記錄的事件。
  • 伺服器效能:Resource Monitoring Tool 收集的 Tableau Server 硬體和程序資訊。
  • Tableau 實體:Resource Monitoring Tool 收集之 Tableau Server 站台、專案、工作簿和檢視的相關資訊。

需求

  • 使用的加密是 SCRAM-SHA-256,Tableau Desktop 2020.4 及更高版本也支援。

啟用對 Resource Monitoring Tool PostgreSQL 資料庫的存取

Tableau 資料來源 (.tds) 檔案包含到 Resource Monitoring Tool PostgreSQL 資料庫的連線。您需要為 readonly 使用者啟用 Resource Monitoring Tool PostgreSQL 資料庫存取權限,然後才能連線到已下載的 .tds 檔。readonly 使用者具有存取權限後,可以從 Tableau Desktop 中的 .tds 檔案使用 readonly 的使用者名稱和密碼連線到 Resource Monitoring Tool PostgresSQL 資料庫。

Resource Monitoring Tool 版本 2022.3 及更高版本:

具有本機存放庫的 Resource Monitoring Tool

  1. 在 RMT 伺服器電腦上,為readonly使用者啟用對 Resource Monitoring Tool PosgreSQL 資料庫的存取:

    rmtadmin data-access ReadOnly

  2. 重新啟動 Resource Monitoring Tool 使設定變更生效的 PostgreSQL 資料庫:

    rmtadmin restart --db

  3. 檢索 readonly 使用者的密碼:

    rmtadmin get db.readOnlyPassword

具有外部存放庫的 Resource Monitoring Tool:

必須設定 RDS 執行個體,以允許 Tableau Desktop 存取。檢索 Resource Monitoring Tool PostgreSQL 資料庫的使用者名稱和密碼,並使用它下載 .tds 檔案。有關更多資訊,請參閱 AWS 站台上的文件

Resource Monitoring Tool 2022.2 及更早版本:

  1. 在文字編輯器中開啟 postgresql.conf 檔案。預設情況下,檔案位於:C:\Program Files\Tableau\Tableau Resource Monitoring Tool\data\postgresql<version>

  2. 更新 Listen_addresses = 'localhost'Listen_addresses = '*'

    請注意:必須移除這行中的「#」。

  3. 在文字編輯器中開啟 pg_hba.conf 檔案。此檔案也位於與 postresql.conf 檔案相同的目錄中。預設情況下,檔案位於:C:\Program Files\Tableau\Tableau Resource Monitoring Tool\data\postgresql<version>

  4. 將以下內容新增到 pg_hba.conf 檔案結尾,然後儲存檔案:

    host all all 0.0.0.0/0 scram-sha-256

    host all all ::/0 scram-sha-256

  5. 重新啟動 Resource Monitoring Tool 使設定變更生效的 PostgreSQL 資料庫:

    rmtadmin restart --db

  6. 檢索 readonly 使用者的密碼:

    rmtadmin get db.readOnlyPassword

從 Tableau Desktop 連線到 RMT .tds 檔案

readonly 使用者啟用對 Resource Monitoring Tool PostgreSQL 資料庫的存取權後,可以從 Tableau Desktop 連線到下載的 .tds 檔案。

  1. 在 Tableau Desktop 中,前往「檔案」>「打開」並選取從 Resource Monitoring Tool Web 介面下載的 .tds 檔。

    附註:您可能需要安裝 PostgreSQL 資料庫驅動程式。可從 www.tableau.com/zh-cn/support/drivers(連結在新視窗開啟) 下載驅動程式。

    若 Tableau Desktop 在開啟 .tds 檔案後未自動連線到 Resource Monitoring Tool Postgres 資料庫,可能需要在 Tableau Desktop 的編輯連線視窗中手動輸入 readonly 使用者名稱和密碼。

誰可以執行此動作

Resource Monitoring Tool 管理員或具備下載 TDS 檔案伺服器角色的 Resource Monitoring Tool 使用者。

感謝您的意見反應!已成功提交您的意見回饋。謝謝!