Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Python 3.6 - 3.10

  • Tableau Server Version [2019.3] and above.

  • Enable the Tableau Metadata API for Tableau Server

    • This requires a server restart if not enabled

  • Tableau API access

    • An API user (record the username and password) needs to be created to access Tableau API.

    • The user cannot be a SSO user. This is a Tableau limitation. SSO users cannot access Tableau API

    • User needs Site Administrator Creator or Server/Site Administrator role. Roles are dependent on both Licensing and Server version see https://help.tableau.com/current/server/en-us/users_site_roles.htm

      • Site Administrator Creator is only available on Role Based Licensing Model

      • Server/Site Administrator is available on both Role Based and Core Based Licensing Model

  • Tableau Repository access

  • Access to the KADA Collector repository

    • The repository is currently hosted in KADA’s Azure Blob Storage. You will be given a SAS token to access the repository. Reach out to KADA Support (support@kada.ai) if you do not have access.

    • Download the Tableau whl (e.g. kada_collectors_extractors_tableau-#.#.#-py3-none-any.whl)

...

The following code is an example of how to run the extractor. You may need to uplift this code to meet any code standards at your organisation.

This can be executed anywhere that has in any python environment where the whl has been installed.

This code sample uses the kada_tableau_extractor_config.json for handling the configuration details

...

K Extracts

A set of files (eg metadata, logdatabaselog, linkages, roles events etc) will be generated. These files will appear in the output_path directory you set in the configuration details

...

A high water mark file is created in the same directory as the execution called tableau_hwm.txt and produce files according to the configuration JSON. This file is only produced if you store the high water mark in a filecall the publish_hwm function.

...

Step 7: Push the Extracts to K

...