Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Scroll ignore
scroll-viewporttrue
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-htmltrue
scroll-epubtrue

Open in new tab

About Collectors

Collectors are extractors that are developed and managed by you (A customer of K).

...

...

Some python packages also have dependencies on the OS level packages, so you may be required to install additional OS packages if the below fails to install.

You can download the Latest Core Library and whl via Platform Settings → SourcesDownload Collectors

...

Run the following command to install the collector

...

The collector requires a set of parameters to connect to and extract metadata from Tableau.

PARAMATER

TYPE

DESCRIPTION

EXAMPLE

server_address

string

Tableau server address inclusive of http/https

https://10.1.19.15

username

string

Username to log into tableau api

“tabadmin”

password

string

Password to log into tableau api

 

sites

list<string>

List of specific sites that you wish to extract, if left as [] it will extract all sites.

[]

db_host

string

This is generally the same as server address less the http/https

“10.1.19.15”

db_username

string

By default the tableau database use is readonly should not need to change this unless you actively manage the database

“readonly”

db_password

list<string>

Password for the database user

 

db_port

integer

Default is 8060 unless your tableau is configured differently

8060

db_name

string

Default database to use is workgroup

“workgroup”

meta_only

boolean

If for some reason you want to extract meta only set this to true otherwise leave it as false

false

retries

integer

Number of retries that the extractor should hit the API incase of intermittent failures, default is 5

5

dry_run

boolean

By doing a dry run you produce the mapping.json file which is used to populate the mapping field below. It is recommended you do a dry run first to see what databases are available to map.

true

output_path

string

Absolute path to the output location where files are to be written

“/tmp/output”

mask

boolean

To enable masking or not

true

mapping

json

This should be populate with the mapping.json output where each data source name mentioned is mapped to an onboarded K host

Where analytics.adw is the onboarded database in K

Code Block
{
"somehost.adw": "analytics.adw"
}

These parameters can be added directly into the run or you can use pass the parameters in via a JSON file. The following is an example you can use that is included in the example run code below.

...