-
Notifications
You must be signed in to change notification settings - Fork 12
SaaS Reporting Tutorial Action Worksheet
amccook edited this page Dec 14, 2023
·
7 revisions
We'll show an example of how to create a query referencing data from the "Actions Worksheet". Specifically, we'll create an Answer that shows the actions Turbo has executed over the past 30 days.
- Login to Thoughtspot.
- Click on the
Search data
button on the top.
- On the left, click on
Select a Data Source
.
- Locate the
Actions
worksheet and clickSelect
.
- Let's add some filters first to help speed up the query.
- On the left-hand side, hover your mouse over
Datetime (UTC)
and click thefilter
icon.
- From the drop-down, select
Last
. Then fill out30
andDays
. ClickApply
.
- On the left-hand side, hover your mouse over
State
and click thefilter
icon.
- A list of possible "states" will appear. Check the box for
SUCCEEDED
. ClickApply
.
- On the left-hand side, hover your mouse over
- Now let's add some columns to our query. On the left-hand side, double-click on the following columns to add them to the query box at the top:
-
Datetime (UTC)
- when an action was executed -
Description
- a brief description of what the action was -
Type
- the type of action taken (move, resize, delete, etc) -
Entity Type
- the entity the action was taken on (vm, container pod, volume, etc) -
Environment
- the environment where the entity lives (cloud, on-prem, hybrid)
-
- To run the query, click
Go
in the top right corner. Data should now populate in the table showing all the actions that succeeded in the last 30 days.
- By default, the
Datetime (UTC)
is showing the data by Month-Year. Let's change that to show the day the action was executed. In the query bar at the top, typedaily
and clickGo
.
- In order to visualize this data, we need to add a metric. In the query bar at the top, type
unique count id
and clickGo
.
- Now let's take these query and add a visualization. Click on the
View Chart
icon beneath the query bar.
- A default visualization will appear. Let's make some modifications. Click on the
Change visualization
icon on the right.
- Select
Stacked Column
.
- Click on the
Edit chart configuration
(gear) button on the right.
- Drag the entities according to the following organization:
- X-axis:
Daily Datetime (UTC)
- Y-axis:
Unique Count Id
- Slice with color:
Environment
Entity Type
Type
- Not visualized
-
Description
-
- X-axis:
- Click
Apply
- Your query and visualization are complete! You can now see the trend of executed actions over the last 30 days organized by Environment, Entity Type, and Action Type.
- Now let's save this visualization (ThoughtSpot terminology: "Answer"). Click on the
More
icon (three dots) and selectSave
.
- Provide a
Name
andDescription
for your visualization and then clickSave Answer
.- Name:
Action Execution Trend
- Description:
Actions executed in the last 30 days organized by Environment, Entity Type, and Action Type.
- Name:
Embedded Reporting
SaaS Reporting
- Overview
- Official Documentation
-
Tutorials
- Creating Custom Answers
- Action Worksheet
- Entity Metrics Worksheet
- Cloud Entities Worksheet
- Import Community Answers/Pinboards
- Creating Custom Answers
- Community Answers & Liveboards