Change the Bridge Client Settings
There are several Bridge client settings that the site admin can configure to change how a client runs. In some cases, a data source owner might be responsible for some of the tasks described in this topic if he or she maintains his or her own client to run Bridge (legacy) schedules.
Run Bridge as a Windows service
In order for a client to be included in a pool, the client should run as a Windows service (Service mode). By default, a client is set to run as a Windows service so that it can load balance live queries and refreshes in the background without requiring a dedicated user to be logged in to the machine. For a client to run as a Windows service, the Windows user account that runs the client must be a member of the local Administrator group on the machine.
Note: If you're a data source owner and managing the client yourself, your client will not be included in the pool. However, if you want the Bridge (legacy) schedule to run in the background even when you're not logged on to your machine, your client must be running as a Windows service (Service mode).
-
Open the Windows system tray and click the Bridge icon to open the client.
-
From the Mode drop-down menu, select Service. A sign-in windows displays.
-
Enter your local admin credentials.
In your list of Windows services, Bridge appears as Tableau Bridge service. You can see this in the Windows Services console or on the Services tab in the Task Manager.
Stop running Bridge as a Windows service
To stop the client from running as a service, change its mode.
-
Open the Windows system tray and click the Bridge icon to open the client.
-
From the Mode drop-down menu, select Application.
When the client is running in Application mode, live queries and scheduled refreshes can only run when the user is logged in to the Windows user account on the machine where the client is running from.
Switch the site a Client is associated with
When you want to use a client to keep content published to a different Tableau Cloud site fresh, you can unlink the existing client and authenticate to the new site from the client.
- Open the Windows system tray and click the Bridge icon to open the client.
-
From the drop-down menu, select Unlink.
Unlink removes the list of data sources that use Bridge (legacy) schedules, schedules, and connection information from the client.
-
Open the Windows system tray and click the Bridge icon to open the client.
-
When prompted, sign in to the new site with your site admin credentials.
-
Do one or both of the following to configure the client:
-
If this client refreshes data sources associated with a specific client, ask data source owners to reconfigure their data sources and refresh schedules.
-
If you want this client to facilitate live connections or extract connections that use Online schedules, ensure that the new client is part of the pool. For more information, see Configure the Bridge Client Pool
-
When you unlink a client, you might also need to remove the Bridge (legacy) schedules for the data sources that the client was refreshing. The other data sources continue to have data freshness tasks performed by other registered clients in the pool.
For more information, see Effects of exit and unlink.
Bridge Client Settings
The default location of the Configuration file is C:\Users\jsmith\Documents\My Tableau Bridge Repository\Configuration\TabBridgeClientConfiguration.txt.
Configuration | Configuration Option | Configurable? | Description |
serviceConnectionSettings
|
serviceUrl
|
No | Tableau site URL. |
proxyServer
|
Yes | Proxy Server and port. See Proxy server example. |
|
connection
|
connectTimeout
|
Yes |
The Bridge client wait time when trying to connect to Tableau Cloud.
Default value: 1 minute |
operationTimeout
|
Yes |
The Bridge client wait time for each server (such as VizPortal) API call after successfully connecting to Tableau Cloud.
Default value: 15 minutes |
|
maxAttemptsToRedirectHttpRequests
|
Yes |
An API call to a server can be redirected from POD to POD. This number specifies the maximum number of redirects per server API call.
Default value: 20 |
|
connectionPool
|
Size
|
Yes |
Applies to Online schedules.
The number of refresh tokens generated at the time of login. The Bridge client uses refresh tokens when a connection to Tableau Cloud is needed. Refresh jobs are processed simultaneously and each job needs a token. Default value: 10 Minimum value: 1 Maximum value: 100. Changing this value requires unlinking the client. |
dataSourceRefreshSettings
|
shutdownTimeoutInSeconds
|
N/A | Obsolete. Not supported. |
downloadDataSourcesInterval
|
Yes |
The time interval for the temporary downloading the names of live data sources and extract data sources that are assigned to the client for Legacy schedules.
Default value: 30 minutes. |
|
checkRefreshDataSourcesInterval
|
Yes | The time interval for the Bridge client to check data sources assigned to the client to establish if a refresh is needed for Legacy schedules.
Default value: 5 seconds |
|
extractRefreshTimeout
|
Yes |
Enforces a time limit for refreshes performed by the client. The timeout limit is the longest allowable time for a single extract to complete a refresh before it's canceled by the client. If an extract refresh is canceled as a result of reaching the timeout limit, you will see a message in the client and an email alert will be sent to the data source owner.
Default value: 24 hours. For virtual connections, the default extract refresh timeout limit is 2 hours and is controlled on by Tableau Cloud The time limit can’t be controlled by the Bridge client. |
|
maxRemoteJobConcurrency
|
Yes |
Applies to Online schedules.
Maximum number of remote refresh jobs allowed by the client. The value for this configuration must be the same or less than Default value: 10 Minimum: 1 Maximum: The value for |
|
JSONLogForExtractRefresh
|
Yes |
When set to true, the client generates an additional log file in JSON format. The log captures the metrics of extract refreshes, for both Legacy and Remote refreshes, with one line per extract.
The format of the JSON log file is readable by Tableau Desktop and can be used as a data source to create live vizzes. For more information, see JSON File. An example of the log file is:
Changing the value of this configuration option requires a restart of the Bridge client. The Default value: false |
|
dataSources
|
No |
Applies to Legacy schedule refresh jobs. Not user editable.
Provides a list of mapped local file locations for file-based data sources. |
|
loggerSettings
|
maxLogFileSizeInMB
|
Yes |
Maximum size of the log files in MB. When a log file exceeds the size limit, a new log file is created.
Default value: 25 MB. |
maxBackupLogFileCount
|
Yes |
Maximum number of allowed Bridge log files. When the number of log files exceed the limit, the oldest log file is deleted.
Default is 40. |
|
remoteRequestLogFileLifeSpan
|
Yes |
For each Bridge Refresh job that is sent to the client, a new set of log files is created: tabbridgeclijob_<process_id , and if the data source is JDBC-based: fjprotocolserver_<process_id>, and stdout_jprotocolserver_<process_id> .
By default, the maximum amount of time the log files remain in the Logs folder before being deleted is 8 hours if the number of log files exceeds
Default value: 8 hours |
|
dataSyncRestartInterval
|
N/A | Obsolete. Not supported. | |
internetConnectionMonitorInterval
|
Yes |
Interval for Bridge to ping the internet to determine if there is a valid connection.
Default value: 30 seconds |
|
secureStorageMonitorInterval
|
N/A | Obsolete. Not supported. | |
cleanUpTempDirOnStartUp
|
Yes |
Determines whether to remove the temp files when the Bridge client starts.
Default value: true |
|
JSONLogForLiveQuery
|
Yes |
When set to true, the client generates an additional log file in JSON format. The log captures the metrics of live query request, with one line per extract.
The format of the JSON log file is readable by Tableau Desktop and can be used as a data source to create live vizzes. For more information, see JSON File. An example of the log file is:
Changing the value of this configuration option requires a restart of the Bridge client. The Default value: true |
Proxy server example
"serviceConnectionSettings" : {
"serviceUrl" : "https://online.tableau.com",
"proxyServer" : {
"serverName" : "http://localhost",
"serverPort" : 8888
},
"connection" : {
"connectTimeout" : "00:01:00",
"operationTimeout" : "00:15:00",
"maxAttemptsToRedirectHttpRequests" : 20
},
"connectionPool" : {
"size" : 20
}
},
Configure a timeout limit for refreshes
To govern the misuse of extracts or refreshes, you can enforce a time limit, also known as a timeout limit, for refreshes performed by a client. The timeout limit is the longest allowable time for a single extract to complete a refresh before it's canceled by the client.
Note: For extracts of virtual connections, the default extract refresh timeout limit is 2 hours and can’t be controlled by the Bridge client. As an alternative, you can modify the virtual connection to refresh within the default 2 hour window or switch to a published data source.
By default, the timeout limit for a client is set to 24 hours. You can change the timeout limit for a client through the Bridge configuration file. If an extract refresh is canceled as a result of reaching the timeout limit, you will see a message in the client and an email alert will be sent to the data source owner.
The client must be restarted for any changes made to the configuration file to take effect.
-
On the machine where the client is installed, go to the Configuration folder in the My Tableau Bridge Repository.
-
Open the TabBridgeClientConfiguration.txt file.
-
Next to extractRefreshTimeout, change the time allowed for a refresh task to complete.
Note: If you don't see the parameter in the configuration file, you can add "extractRefreshTimeout" and the desired refresh time to the dataSourceRefreshSettings setting.
-
Save and close the file.
-
Exit and restart the client for the changes to take effect. The way you restart the client depends on whether the client is running in Application or Service mode.
-
For Application mode: from the client menu, select Exit.
-
For Service mode: from the Mode drop-down menu, select Application; from the client menu, select Exit.
-
Manage Bridge log files
The client creates logs of activities as part of its normal operation. You can use these logs to monitor refreshes, troubleshoot issues with Bridge, or if Tableau Support requests logs from you to help resolve an issue.
You can manage the size of Bridge log files or increase the time log files remain before being deleted in the TabBridgeClientConfiguration.txt file.
Note: Log files named tabprotosrv* vary from other Bridge log files. The maximum size is 1 MB and the maximum number of allowed log files is 8,192. These values are also not configurable.
-
On the machine where the client is installed, go to the Configuration folder in the My Tableau Bridge Repository.
-
Open the TabBridgeClientConfiguration.txt file.
-
Next to loggerSettings, you can change the values for the following parameters:
"maxLogFileSizeInMB" : 25
"maxBackupLogFileCount" : 40
"remoteRequestLogFileLifeSpan" : "08:00:00"
-
Save and close the file.
-
Exit and then restart the client for the changes to take effect. The way you restart the client depends on whether the client is running in Application or Service mode.
-
For Application mode: from the client menu, select Exit.
-
For Service mode: from the Mode drop-down menu, select Application; from the client menu, select Exit.
Manage the size of the Bridge pool
By default, each client in a pool can load balance up to 10 refresh jobs at one time. If the number of refresh jobs running at a given time exceeds the capacity of your client pool or you have the hardware resources to support it, consider increasing each client's capacity.
You can manage a client's pooling capacity in the TabBridgeClientConfiguration.txt file.
Changing the ConnectionPool configuration
Important: The procedure described below requires unlinking the client. Unlinking removes the association between the site and the client. This means for data sources that are refreshed using Bridge (legacy) schedules, unlinking the client removes associations to those data sources, its schedules, and any connection information from the client. As part of modifying the size of the Bridge pool, we recommend you click the Bridge icon in the Windows System tray and note the data sources listed (step 5) to aid the rescheduling process (step 10).
-
On the machine where the client is installed, go to the Configuration folder in the My Tableau Bridge Repository.
The default location of the Configuration folder is C:\Users\jsmith\Documents\My Tableau Bridge Repository\Configuration.
-
Open the TabBridgeClientConfiguration.txt file.
-
Edit the value next to
ConnectionPool
. -
Save and close the file.
- (Optional) Click the Bridge icon in the Windows System tray and note the data sources listed and the refresh schedules that have been configured for those data sources.
-
Right-click the Bridge icon in the Windows System tray and select Unlink.
For more information about the Unlink option, see Effects of exit and unlink.
-
Exit the client for the changes to take effect. The way you exit the client depends on whether the client is running in Application or Service mode.
-
For Application mode: from the client menu, select Exit.
-
For Service mode: from the client menu, select Exit. In the dialog box, select the Exit client and stop activities check box and click Close.
-
-
Start Bridge again.
-
When prompted, sign in Tableau Cloud using your site admin credentials.
- (Optional) If you followed step 5 for data sources that use Bridge (legacy) schedules, follow the procedure described in Add a new or update an existing Bridge (legacy) schedule to reschedule the refreshes and effectively reassociate the data sources with the client.
-
Changing maxRemoteJobConcurrency configuration
-
On the machine where the client is installed, go to the Configuration folder in the My Tableau Bridge Repository.
-
Open the TabBridgeClientConfiguration.txt file.
-
Edit the value next to
maxRemoteJobConcurrency
. -
Save and close the file.
-
Exit the client for the changes to take effect. The way you exit the client depends on whether the client is running in Application or Service mode.
-
For Application mode: from the client menu, select Exit.
-
For Service mode: from the client menu, select Exit. In the dialog box, select the Exit client and stop activities check box and click Close.
-
-
Start Bridge again.
-
When prompted, sign in Tableau Cloud using your site admin credentials.
- (Optional) If you followed step 5 for data sources that use Bridge (legacy) schedules, follow the procedure described in Add a new or update an existing Bridge (legacy) schedule to reschedule the refreshes and effectively reassociate the data sources with the client.