Breadcrumbs

Thoughtspot - Export Liveboard Report

Overview

Quickly export a Thoughtspot liveboard report into a variety of formats ranging from CSV, PNG and PDF

Variables

Name

Reference

Type

Required

Default

Options

Description

API Token

THOUGHTSPOT_TOKEN

Password

-

-

The API token generated in Thoughtspot

Metadata Identifier

THOUGHTSPOT_METADATA_ID

Alphanumeric

-

-

The ID of the associated liveboard

Visualization Identifiers

THOUGHTSPOT_VISUALIZATION_IDS

Alphanumeric

-

-

The optional list of specific visualizations to include in the export. If omitted then all will be included

File Format

THOUGHTSPOT_FILE_FORMAT

Select

csv

CSV: csv

PDF: pdf

PNG: png

The desired file format for the export to have

Runtime Filter

THOUGHTSPOT_RUNTIME_FILTER

Alphanumeric

-

-

A column condition to filter the exported data

Runtime Sort

THOUGHTSPOT_RUNTIME_SORT

Alphanumeric

-

-

A column sort to sort the output data

File Name

THOUGHTSPOT_FILE_NAME

Alphanumeric

liveboard

-

The name of the download file to have

YAML

Below is the YAML template

YAML

source:
  template: Thoughtspot - Export Liveboard Report
  inputs:
    THOUGHTSPOT_TOKEN:
    THOUGHTSPOT_METADATA_ID:
    THOUGHTSPOT_VISUALIZATION_IDS:
    THOUGHTSPOT_FILE_FORMAT: csv
    THOUGHTSPOT_RUNTIME_FILTER:
    THOUGHTSPOT_RUNTIME_SORT:
    THOUGHTSPOT_FILE_NAME: liveboard
  type: TEMPLATE
guardrails:
  retry_count: 1
  retry_wait: 0h0m0s
  runtime_cutoff: 1h0m0s
  exclude_exit_code_ranges:
    - 200
    - 202
    - 203
    - 204