Alation Anywhere for Tableau¶
Alation Cloud Service Applies to Alation Cloud Service instances of Alation
Customer Managed Applies to customer-managed instances of Alation
Available from 2022.4
Alation Anywhere is a set of features that integrate Alation with other apps, so you can access and use Alation data within apps you already use daily.
With Alation Anywhere for Tableau, users of Tableau can see certain metadata from Alation directly within Tableau. This enables Tableau users to see data descriptions, warnings, and more in Tableau itself. Alation serves as the single source of truth while supporting data users in their chosen context.
Starting in 2023.1, Alation Anywhere for Tableau is enabled automatically for all customers. On older versions, a Server Admin can enable this feature.
To configure Alation Anywhere for Tableau, you must be a BI Server Admin for your Tableau source in Alation. For help with BI Server Admin access, see Configure Access to OCF BI Sources.
Prerequisites¶
To use Alation Anywhere for Tableau, the following prerequisites must be met:
Alation and Tableau must be connected to the data source whose data you want to sync. This must be an external RDBMS data source. It can’t be an XSL or CSV that’s embedded on the Tableau server.
You must have added Tableau Data Management to your Tableau deployment. This enables us to use the Tableau APIs to send data to Tableau.
You must have the Tableau OCF connector version 1.2.0 or later installed in Alation.
You must have connected Alation to an instance of Tableau Cloud or Tableau Server version 2021.3 or later.
You must have performed metadata extraction with this connector at least once. You must have added curated metadata, such as descriptions, tags, and trust check flags to the data.
Important
Alation Anywhere for Tableau does not yet support connections between Alation Cloud Service and an on-premise Tableau connector installed with the Alation Agent.
Permissions¶
During the upload of metadata to Tableau, no user permissions are uploaded. Tableau and Alation are separate applications with separate permissions management. Some items visible for one user in Alation might have restricted access in Tableau and vice versa. During metadata upload the permissions are not transferred between applications.
For the purpose of the metadata upload job, the provided credentials and tokens should be granted permissions to access all objects whose metadata should be updated.
Enable Alation Anywhere for Tableau¶
Starting in 2023.1, Alation Anywhere for Tableau is enabled automatically for all customers.
To use Alation Anywhere for Tableau on older versions, you must first enable the feature on your Alation instance. To enable this feature for on-premise instances, you must be a Server Admin with access to the Alation server.
Note
Alation Cloud Service customers can request server configuration changes through Alation Support.
To enable Alation Anywhere for Tableau for on-premise instances in 2022.4 and earlier:
Use SSH to connect to the Alation server.
Enter the Alation shell using the following command:
sudo /etc/init.d/alation shell
Enter the following command:
alation_conf alation.ocf.bi.upload_lms_data -s True
(Optional) By default, Alation will sync metadata for databases, tables, and columns. You can configure which object types will be synced using the following command, removing the object type for which you don’t want to sync metadata:
alation_conf tableau.upload.scope -s databases,tables,columns
Enable and Schedule Metadata Upload to Tableau¶
To configure Alation Anywhere for Tableau, you must be a BI Server Admin for your Tableau source in Alation. You can enable and disable the feature, and you can send metadata to Tableau manually or set up an automatic schedule. The instructions depend on what version of Alation and the Tableau connector you have.
For Alation 2024.1.2 and newer with Tableau connector 1.9.0 and newer:
In Alation, click Apps in the top right corner, then click Sources.
Click the Manage Settings tab.
Click BI Servers on the left.
Click on the wrench icon to the right of your Tableau source name.
Click the Metadata Upload tab and toggle Enable Automated Upload on or off.
To set up the schedule, click the drop-down arrows for each part of the schedule and select the desired options.
For any other older versions:
In Alation, click Apps in the top right corner, then click Sources.
Click the Manage Settings tab.
Click BI Servers on the left.
Click on the wrench icon to the right of your Tableau source name.
Scroll down to Metadata Upload From Alation to BI Server and toggle Enable Automated Upload on or off.
To set up the schedule, click the drop-down arrows under Automated Upload Time and select the desired options.
Note
Here are some recommended schedules for better performance:
Every 12 hours at the 30th minute of the hour.
Every 2 days at 11:30 PM.
Every week on Sunday and Wednesday.
Every 3 months on the 15th day of the month.
Encrypt the Connection with an SSL Certificate¶
If you have Tableau Server (on-premise), you can make the connection to Alation secure by uploading a custom SSL certificate to encrypt the data upload.
If you have Tableau Cloud, the connection is already encrypted, so you do not need to upload an SSL certificate. You may upload a custom certificate if desired.
Note
The information in this section only applies to the metadata upload from Alation to Tableau. However, the Tableau connector can only have one SSL certificate, which will apply to both metadata extraction and metadata upload (if configured to use encryption).
SSL Certificate Options¶
There are three options available for custom SSL certificates, depending on the version of Alation you’re using:
SSL certificate signed by a Certificate Authority
Self-signed SSL certificate (2023.1.6 and newer)
Disabled certificate (2023.1.6 and newer)
These options are described below.
Self-Signed SSL Certificate¶
Applies to 2023.1.6 and newer
From version 2023.1.6 of Alation, you can encrypt the connection with a self-signed SSL certificate. These are also known as private certificates. These custom certificates are signed by your organization itself rather than a Certificate Authority.
Self-signed certificates should be uploaded as a full chain certificate, not a single certificate. Make sure you have selected the right option when downloading it from the Tableau server.
Disabled Certificate¶
Applies to 2023.1.6 and newer
From version 2023.1.6, you can also disable SSL verification for metadata extraction and metadata upload. This turns off encryption when data is sent over the open internet. For security reasons, we do not recommend this. However, you may want to do this temporarily for troubleshooting or testing or if your certificate has expired.
Configure Encryption Settings¶
Applies to 2023.1.6 and newer
From version 2023.1.6, you can configure what kind of encryption settings the Tableau connector will use for metadata upload from Alation to Tableau.
Encryption Parameters¶
There are two parameters in alation_conf that control the encryption behavior:
tableau.upload.mode
tableau.upload.connection_encryption
The tableau.upload.mode
parameter determines whether the new encryption options in 2023.1.6 can be used for metadata upload from Alation to Tableau. It has two possible values:
production
—Maintains the older behavior where only SSL certificates assigned by a Certificate Authority can be used.production_v2
—Enables the options in 2023.1.6 and newer. SSL certificates can be signed by a Certificate Authority, self-signed, or disabled. Enabled by default from version 2023.3.2.
The tableau.upload.connection_encryption
parameter determines what encryption behavior to use for metadata upload from Alation to Tableau. It is only used when tableau.upload.mode
is set to production_v2
. It has three possible values:
default
—The encryption will be based on the Disable SSL Certification checkbox on the BI server settings page in Alation.true
—Metadata upload will always be encrypted with the provided SSL certificate. The Disable SSL Certification checkbox will be ignored for metadata upload.false
—Metadata upload will not be encrypted. The Disable SSL Certification checkbox will be ignored for metadata upload.
Change Encryption Parameters¶
On customer-managed (on-premise) instances of Alation, you must be a Server Admin to change the parameters on the Alation server.
Note
Alation Cloud Service customers can request server configuration changes through Alation Support.
To configure encryption settings for customer-managed instances of Alation:
Use SSH to connect to the Alation server.
Enter the Alation shell using the following command:
sudo /etc/init.d/alation shell
Enter the following command, providing the desired value as described above:
alation_conf tableau.upload.mode -s <value>
Enter the following command, providing the desired value as described above:
alation_conf tableau.upload.connection_encryption -s <value>
Configure Encryption Settings on the Tableau Data Source¶
To configure encryption settings for Tableau, you must be a BI Server Admin for the Tableau source in Alation. The instructions for configuring encryption settings depend on what version of Alation and the Tableau connector you have.
For Alation 2024.1.2 and newer with Tableau connector 1.9.0 and newer:
In Alation, click Apps in the top right corner, then click Sources.
Click the Manage Settings tab.
Click BI Servers on the left.
Click on the wrench icon to the right of your Tableau source name.
Click the General Settings section.
Use the Upload SSL certificate toggle to enable or disable SSL encryption.
With the Upload SSL certificate toggle enabled, click Upload and select your certificate.
Click Save.
For any other older versions:
In Alation, click Apps in the top right corner, then click Sources.
Click the Manage Settings tab.
Click BI Servers on the left.
Click on the wrench icon to the right of your Tableau source name.
Scroll down to the Additional Settings section.
Select or deselect the Disable SSL Certification checkbox as desired.
If you’re using SSL encryption, under Server SSL Certificate, click upload and select your certificate.
Monitor Alation Anywhere for Tableau¶
There are two ways to monitor Alation Anywhere for Tableau.
Upload Job Status Dashboard¶
Starting in 2023.1, you can monitor the status of the data transfer from Alation to Tableau. To do this, you must be a BI Server Admin for the Tableau source in Alation. The instructions depend on what version of Alation and the Tableau connector you have.
For Alation 2024.1.2 and newer with Tableau connector 1.9.0 and newer:
In Alation, click Apps in the top right corner, then click Sources.
Click the Manage Settings tab.
Click BI Servers on the left.
Click on the wrench icon to the right of your Tableau source name.
Click the Metadata Upload tab, then click Upload Job History. The Upload Job Status table shows the latest upload jobs, their status, and any errors that may have occurred.
For any other older versions:
In Alation, click Apps in the top right corner, then click Sources.
Click the Manage Settings tab.
Click BI Servers on the left.
Click on the wrench icon to the right of your Tableau source name.
Scroll down to Metadata Upload From Alation to BI Server. The Upload Job Status table shows the latest upload jobs, their status, and any errors that may have occurred.
On the Upload Job Status table, you can:
Click Refresh to update the table.
Use the Prev and Next buttons below the table to see more jobs.
Click the View Details link to see full error messages and other details.
If there are errors, the Job errors table displays the error category, error message, and a hint (ways to resolve the issue). Follow the instructions under the Hints column to resolve the error.
In some cases, Generate Error Report link is displayed above the Job errors table. Click the Generate Error Report link above the Job errors table to generate an archive (.zip) containing CSV files for different error categories, such as data or connection errors. Click Download Error Report to download the files.
Extended Logging¶
Starting in 2023.1.4, Alation can record extended logging about the data transfer from Alation to Tableau. The logs can be particularly helpful in identifying cases where a table fails to be synced due to having the same name as another table. You must be a Server Admin to enable extended logging for customer-managed (on-premises) instances of Alation.
Note
Alation Cloud Service customers can request server configuration changes through Alation Support.
To enable logging for customer-managed instances of Alation:
Use SSH to connect to the Alation server.
Enter the Alation shell using the following command:
sudo /etc/init.d/alation shell
Enter the following command:
alation_conf tableau.upload.detailed_logging_enabled -s True
Logs will be visible on the Alation server in celery-metadata_upload.log and celery-metadata_upload_error.log.
Understand How Alation Sends Metadata to Tableau¶
After enabling Alation Anywhere for Tableau, there are two stages in the process of getting metadata into Tableau. First Alation sends the metadata to Tableau. Then Tableau propagates the metadata to specific objects.
It may take some time for the metadata to fully propagate. For example, an upload of 10,000 objects may take about 6 minutes to send from Alation to Tableau and about 4 hours for Tableau to fully propagate the metadata.
Alation sends metadata for the following data objects:
Data sources
Tables
Columns
Alation sends the following metadata to Tableau:
Trust check flags
Warnings
Deprecations
Endorsements (starting in 2023.1.4)
Descriptions
Tags
If a data object has both warning and deprecation flags, the flag will appear as a deprecation in Tableau, but the description for both the warning and the deprecation will be shown.
Starting in 2023.1.4, Alation uploads additional data:
Endorsement flags, which are displayed as certifications in Tableau.
Descriptions and tags inherited from catalog sets.
Important
The Tableau API limits our ability to delete tags and descriptions from Tableau. Deleting a tag or description in Alation will not delete the corresponding data in Tableau automatically.
Find Alation Metadata in Tableau¶
In general, you will find Alation metadata in context when working with data in Tableau. Specifically, you’ll find metadata in the Data Details panel and when viewing tables or databases in Tableau. You may also see warning pop-ups when viewing workbooks with deprecations or warnings.
Alert Pop-up¶
When Alation has sent warnings or deprecations about the view’s data, you’ll see a warning message at the top of the screen. Click on Open Data Details to see more information.
Data Details¶
You can see Alation metadata at any time by clicking on Data Details.
In the Data Details panel, click on the yellow warning banner to see specific data quality warnings.
A popup will appear giving details on the warnings that were sent from Alation.
The Data Details panel also shows Alation descriptions of columns under the Fields in Use section.
Worksheet Editor Data Panel¶
Tableau users with a Creator or Explorer (can edit) license can see column descriptions from Alation when editing a worksheet. This enables Tableau editors to better understand the data they’re using. Hover over a column name in the Data panel to see the description.
Note
Tableau will not show deprecations, warnings, or tags in the worksheet editor data panel.
Tableau Data Management External Assets¶
If you have added Tableau Data Management to your Tableau deployment, you can go to External Assets in the left navigation pane and see Alation descriptions, warnings, deprecations, and tags associated with your data.
For example, when viewing a table in Tableau Data Management, you can see the table’s description and tags from Alation. You can also see any endorsements (shown as Certified), deprecations, and warnings from Alation on the table. (Endorsements were added in 2023.1.4.)
Click on a warning, deprecation, or Certified icon to get details about it. Click the Powered by link to go to the Alation home page, or click on the More information link to go to the object’s catalog page in Alation.