Overview
Quickly export a Thoughtspot answer into a variety of formats ranging from CSV, PNG, PDF, and XLSX
Variables
|
Name |
Reference |
Type |
Required |
Default |
Options |
Description |
|---|---|---|---|---|---|---|
|
API Token |
THOUGHTSPOT_TOKEN |
Password |
✅ |
- |
- |
The API token generated by Thoughtspot |
|
Answer ID |
THOUGHTSPOT_ANSWER_ID |
Alphanumeric |
✅ |
- |
- |
The GUID of the desired Answer report |
|
File Format |
THOUGHTSPOT_FILE_FORMAT |
Select |
✅ |
csv |
CSV: csv
|
The file type of the downloaded file to have |
|
Runtime Filter |
THOUGHTSPOT_RUNTIME_FILTER |
Alphanumeric |
➖ |
- |
- |
The optional column filter to filter the data before export |
|
Runtime Sort |
THOUGHTSPOT_RUNTIME_SORT |
Alphanumeric |
➖ |
- |
- |
The optional column sort to arrange the data before export |
|
File Name |
THOUGHTSPOT_FILE_NAME |
Alphanumeric |
➖ |
answer |
- |
The name that the downloaded answer report should be saved to |
YAML
Below is the YAML template
source:
template: Thoughtspot - Export Answer Report
inputs:
THOUGHTSPOT_TOKEN:
THOUGHTSPOT_ANSWER_ID:
THOUGHTSPOT_FILE_FORMAT: csv
THOUGHTSPOT_RUNTIME_FILTER:
THOUGHTSPOT_RUNTIME_SORT:
THOUGHTSPOT_FILE_NAME: answer
type: TEMPLATE
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- 201
- 202
- 203
- 204