the tableau repository
DESCRIPTION
The Tableau Repository. Click to edit Master subtitle style. PRESENTED BY. Russell Christopher. Click to edit title. Click to edit subtitle style. Title. The Tableau Repository. Agenda. About the repository Connecting to the repository Unsupported but very interesting information. - PowerPoint PPT PresentationTRANSCRIPT
Click to edit Master subtitle styleThe Tableau Repository
PRESENTED BY
Russell Christopher
©2013 Tableau Software Inc. All rights reserved.
Click to edit title• Click to edit subtitle style
©2013 Tableau Software Inc. All rights reserved.
Title
©2013 Tableau Software Inc. All rights reserved.
The Tableau Repository
Agenda
• About the repository
• Connecting to the repository
• Unsupported but very interesting information
PostgreSQL
What is it?
Port 8060 on oneor more machines
Where is it?
• http://kb.tableausoftware.com/articles/knowledgebase/creating-custom-administrative-views
How do I connect to it?
Google:
“Creating Custom Admin Views Tableau”
to find...
• Tableau• PGAdmin3• Other
What can I connect to it with?
www.tableausoftware.com/drivers
Drivers?
• Original views (legacy)• hist_tables (new in v8)
The Tables
• Granted minimum permissions • Mostly can’t see underlying tables• Just not very much fun
The “Tableau” user
Legacy (“Original”) Views
• HTTP Requests• Sessions• Users• Views• Customized
Views• Data Sources
“Original” Views: What can you see?
• Workbooks• Data Sources• Background
Tasks• Projects• Sites• Tags
http_requests gets big!
Warning!
We truncate to 10 days of data upon backup or ziplogs
Warning!
Back this data up (extracts?) if you want > 10 days of history.
Warning!
“Views”
Demo
V8 “History” Tables
historical_event_types
PK type_id
name action_type
hist_tags
PK id
tag_id name
hist_groups
PK id
group_id name domain_name
historical_events
PK id
FK18 historical_event_type_id worker duration_in_ms is_failure details created_atFK2 hist_actor_user_idFK14 hist_target_user_idFK1 hist_actor_site_idFK13 hist_target_site_idFK10 hist_project_idFK17 hist_workbook_idFK16 hist_view_idFK7 hist_datasource_idFK4 hist_comment_idFK12 hist_tag_idFK8 hist_group_idFK9 hist_licensing_role_idFK11 hist_schedule_idFK15 hist_task_idFK6 hist_data_connection_idFK5 hist_config_idFK3 hist_capability_id
hist_tasks
PK id
task_id type priority
hist_licensing_roles
PK id
licensing_role_id name
hist_capabilities
PK id
capability_id name allow
hist_users
PK id
user_id name domain_name email system_user_id system_admin_levelFK1 hist_licensing_role_id site_admin_level publisher_tristate
hist_projects
PK id
project_id name
hist_comments
PK id
comment_id comment
hist_schedules
PK id
schedule_id name schedule_type priority scheduled_action is_serial day_of_week_mask day_of_month_mask start_at_minute minute_interval end_at_minute end_schedule_at
hist_configs
PK id
key value
hist_views
PK id
view_id name repository_url revision
hist_data_connections
PK id
data_connection_id server name dbname table_name
hist_workbooks
PK id
workbook_id name repository_url size revision
hist_datasources
PK id
datasource_id name repository_url size revision
hist_sites
PK id
site_id name url_namespace
• They are “real” tables• Complete with Referential Integrity
Constraints• Closely models “inaccessible” tables• Days to truncate is configurable• Implementation is not complete yet.
A work in progress
• Historical Events• Event Types• Capabilities• Groups• Data Sources• Data Connections• Views• Users• Licensing Roles
“History” Tables: What can you see?
• Schedules• Tasks• Configurations• Workbooks• Projects• Sites• Tags• Comments
* Red tables not yet populating with data
“History Tables”
Demo
• User interaction• Who ran report ‘x’?• When? • How long did it take?
Contrast: Legacy Views v. History Tables
Legacy Views: Examples
“Consumption-centric”
Scheduled Tasks• Who ran refresh
task?• Did it succeed or
fail?
Contrast: Legacy Views v. History Tables
Schedule creation• Who created a schedule?• Who added a task to it?Admin• Who created a new
project?• Who added user x to
group y?
History Tables: Examples
“Admin-ish”
Content creation• Who published a
workbook?• Who modified it?• Who changed the
connect string?• Who changed
permissions on it?
None of the following, repeat NONE
of it is supported.
NOT supported.
Going off road
None of the following, repeat NONE
of it is supported.
NOT supported.
• “Who owns what report a?”• “I want a list of every report user x can see”• “What server is data source y connecting to?” • Tableau user is R/O
Supported “public” tables have gaps
• Have full access to the database• Can do anything• Are risky to leverage• Are not supported• USE AT YOUR OWN RISK
Other users
Example
• “Backdoor stuff”
Demo