Reference: Tanium Client settings and CLI
Tanium Client settings reference
For information about reviewing and modifying Client settings, see Managing Client settings and Index configurations. Tanium Client settings are written to the Windows registry on Windows endpoints and to an SQLite database on non-Windows endpoints.
|
Setting Name |
Applies to OS Platforms |
Windows Registry Value Type |
Non-Windows Setting Type |
Description |
Modify |
|---|---|---|---|---|---|
|
ClientCacheLimitInMB1 |
All supported |
REG_DWORD |
NUMERIC |
The size limit, in MB, for the file cache on an endpoint. The default is 2048. For more information, see Chunk caching. |
As necessary |
|
ComputerID |
All supported |
REG_DWORD |
NUMERIC |
Value that the Tanium Server assigned to the Client to uniquely identify and track each managed endpoint. |
No |
|
CX.patch.EnableDeployments |
Windows |
REG_DWORD |
NUMERIC |
For emergency override scenarios where you need to disable Patch deployments. This setting does not affect Patch applicability scans. Valid values:
|
As necessary |
|
DatabaseEpoch |
All supported |
REG_SZ |
STRING |
Typically, this setting indicates the date and time when the Tanium Server was deployed. |
No |
|
DisableExtension_patch |
Windows |
REG_DWORD |
NUMERIC |
For emergency override scenarios where you need to disable Patch applicability scanning and Patch deployments. Valid values:
|
As necessary |
|
EnableRandomListeningPort |
All supported |
REG_DWORD |
NUMERIC |
Enables (1) or disables (0) the randomized selection of a new listening port at intervals. The Client uses the port for communication from peer Clients. If another application is already using the selected port, the Client selects another port immediately instead of at the next interval. By default, EnableRandomListeningPort is disabled and the Client uses a fixed listening port (default is 17472). For more information and best practices, see Customize listening ports.
Best practice: Randomize listening ports only if it is required by rules in your organization. Using randomized listening ports requires more complex firewall rules to allow Client communication, and it makes troubleshooting issues with Client communication more difficult.
|
As necessary |
|
EnableSensorQuarantine |
All supported |
REG_DWORD |
NUMERIC |
Add this setting and set the value to 1 if you want to enable the enforcement of sensor quarantines on a particular endpoint. By default, the setting is not present and enforcement is disabled. If you already added the setting, you can disable enforcement by setting the value to 0. You can also use Tanium Console to enable or disable enforcement for all endpoints. For more information, see Enable or disable enforcement of quarantined sensors. |
As necessary |
|
FirstInstall |
Windows |
REG_SZ |
N/A |
Date and time of the initial Tanium Client installation. |
No |
|
HostDomainName |
Non‑Windows |
N/A |
STRING |
Required only when the Client does not return the domain name correctly in question results. The value that you specify for this setting overrides the data that the Client OS would otherwise return. Specify just the domain portion of the fully qualified domain name (FQDN). For example, if the FQDN is host.example.com, specify example.com. |
As necessary |
|
HostFQDN |
Non‑Windows |
N/A |
STRING |
Another option (besides HostDomainName) for cases where the Client does not return the hostname and domain name correctly in question results. The value that you specify for this setting overrides the data that the Client OS would otherwise return. Specify the complete FQDN, including hostname, such as host.example.com. |
As necessary |
|
LastInstall |
Windows |
REG_SZ |
N/A |
Date and time of latest Tanium Client installation. |
No |
|
LastGoodServerName |
All supported |
REG_SZ |
STRING |
The name of the Tanium Server or Zone Server with which the Tanium Client last connected successfully. If the Client cannot reach a Server that the ServerNameList or ServerName setting specifies, the Client tries to connect to the Server that LastGoodServerName specifies. You do not set LastGoodServerName; the Client defines it automatically.
Tip: To avoid this fallback behavior during testing, troubleshooting, or migration scenarios, delete the LastGoodServerName value.
|
No |
|
ListenPort |
All supported |
REG_DWORD |
NUMERIC |
This setting specifies the port on which the Client listens for communication from peer Clients. By default, this setting is empty, and the Client listens for communication from peer Clients on the port specified for the ServerPort setting. When you configure a value for the ListenPort setting, it overrides the ServerPort setting for communication between Clients. For more information and best practices, see Customize listening ports. |
As necessary |
|
LogFileSize |
All supported |
REG_DWORD |
NUMERIC |
The size threshold in bytes that Tanium Client logs must reach before the Client rotates them. |
As necessary |
|
LogPath |
All supported |
REG_SZ |
STRING |
By default, the Tanium Client writes its logs to the <Tanium Client>/Logs subdirectory. You can use the LogPath setting to define an alternative absolute path for the logs. For example: LogPath=/tmp. |
As necessary |
|
LogVerbosityLevel1 |
All supported |
REG_DWORD |
NUMERIC |
The level of logging on an endpoint. The following values are best practices for specific scenarios:
Note:
A value of 0 disables logging. As a best practice, do not disable logging.
Note: By default, this setting is not present if you did not set the logging level when deploying the Tanium Client.
Tip:
|
As necessary |
|
Logs.extensions.LogVerbosityLevel1 |
All Supported |
REG_DWORD |
NUMERIC |
The level of logging for Client Extensions (such as the Tanium™ Client Recorder Extension and Tanium™ Index) on an endpoint. The following values are best practices for specific scenarios:
Note: A value of 0 disables logging. As a best practice, do not disable logging.
|
|
|
Path |
Windows |
REG_SZ |
N/A |
Path to the Tanium Client installation directory. If none is specified, the Tanium Client assumes the default path for the OS.
Tip:
For Linux, Solaris, and AIX, you can use symbolic links. For more information, see the following sections: |
As necessary |
|
PeerNeighborhood |
All Supported |
REG_SZ |
STRING |
A neighborhood name that designates Clients that should be allowed to peer regardless of NAT IP. For more information, see Configure intentional subnets. |
|
|
ProxyAutoConfigAddress |
Windows |
REG_SZ |
N/A |
The URL and file name (in the format http[s]://<PAC file URL>/<PAC file name>.pac) of a proxy auto configuration (PAC) file that the Tanium Client can access. The PAC file defines how Clients connect to the Tanium Server or Zone Server: directly or through a Hypertext Transfer Protocol Secure (HTTPS) proxy server. The Client downloads the file from the URL that you specify and runs a script that the file contains to select the correct proxy for connecting to a particular Server. If no proxy is available, the Client falls back to connecting directly with the Tanium Server or Zone Server. For more information, see Configure proxy connections during Client deployment with a PAC file (Windows endpoints only). |
As necessary |
|
ProxyAutoDetect |
Windows |
REG_DWORD |
NUMERIC |
Enables detection of an existing proxy configuration from the Windows registry on an endpoint. Set a value of 1 to enable. Omit this setting or set a value of 0 to disable. |
As necessary |
|
ProxyServers |
All supported |
REG_SZ |
STRING |
The IP address or FQDN, and port number, of the HTTPS proxy server through which the Tanium Client connects to the Tanium Server or Zone Server. You can specify multiple proxies as a comma-separated list in the format "<proxy1>:<port>,...,<proxyN>:<port>". The Client tries to connect to the proxies in the order that you list them. After any single connection succeeds, the Client stops trying to connect with more proxies. If no proxy is available, the Client falls back to connecting directly with the Tanium Server or Zone Server. For more information, see Configure specific proxy servers during Client deployment. |
As necessary |
|
RandomListeningPortExclusions |
All supported |
REG_DWORD |
NUMERIC |
Specifies ports that the Client never selects as a listening port if you enable EnableRandomListeningPort. For example, to prevent port competition conflicts, you might specify ports that other applications use. If you specify multiple exclusions, use a comma to separate each port. By default, the Client does not exclude any ports that are within the range that the RandomListeningPortMin and RandomListeningPortMax settings define. For more information and best practices, see Customize listening ports. |
As necessary |
|
RandomListeningPortMax |
All supported |
REG_DWORD |
NUMERIC |
Specifies the high end of the range of ports from which the Client randomly selects a listening port if you enabled EnableRandomListeningPort. The default is port 64000. For more information and best practices, see Customize listening ports. |
As necessary |
|
RandomListeningPortMin |
All supported |
REG_DWORD |
NUMERIC |
Specifies the low end of the range of ports from which the Client randomly selects a listening port if you enabled EnableRandomListeningPort. The default is port 32000. For more information and best practices, see Customize listening ports. |
As necessary |
|
RandomListeningPortTTLInHours |
All supported |
REG_DWORD |
NUMERIC |
Specifies the interval in hours at which the Client selects a new listening port if you enabled EnableRandomListeningPort. The default is 24 hours. Do not set the value lower than the Client reset interval, which by default is a random interval in the range of 2 to 6 hours. For more information and best practices, see Customize listening ports. |
As necessary |
|
RegistrationCount |
All supported |
REG_DWORD |
NUMERIC |
Count of completed registrations. This value, in conjunction with the ComputerID, enables the Tanium Server to detect duplicate Computer IDs. If the RegistrationCount value that the Tanium Server maintains does not match the value that the Client reports, the Server assigns a new, unique ComputerID to the endpoint to resolve the apparent ComputerID duplication. For more information, see Information about registration and ComputerID (all operating systems). |
No |
|
RegistrationSecret |
All supported |
REG_SZ |
STRING |
Indicates that the encrypted public key used to authenticate with the Tanium Server is present. The encrypted key is shown only when you use the config list-protected command. Otherwise, this setting shows the value (protected) when the key is present and can be decrypted.
Note: Non-Windows: If you are signed in as a non-root user, this setting reports the error Error applying configuration: Failed to finalize decryption because the key cannot be decrypted in the context of the current user. This is not an issue for normal Tanium Client operation. However, if you need to reset the public key to troubleshoot connection issues, you must use the sudo command and set the HOME environment variable appropriately. For more information, see Review or reset the public key to troubleshoot connection issues.
|
No |
|
ReportingTLSMode, OptionalTLSMinAttemptCount, OptionalTLSBackoffIntervalSeconds, OptionalTLSMaxBackoffSeconds, Server_ReportingTLSMode, Server_OptionalTLSMinAttemptCount, Server_OptionalTLSBackoffIntervalSeconds, Server_OptionalTLSMaxBackoffSeconds |
All supported |
REG_DWORD |
NUMERIC |
Tanium Core Platform supports TLS communication for connections from Tanium Clients to the Tanium Server or Zone Server and for communication between Tanium Client peers. For more information, see the Secure Tanium Server, Zone Server, and Tanium Client access on Tanium Appliances or Securing Tanium Server, Zone Server, and Tanium Client access in a Windows deployment. |
As necessary |
|
Resolver |
Non‑Windows |
N/A |
STRING |
Program to invoke for resolving the IP address of the Tanium Server. The default is getent. For AIX and Solaris, set this to nslookup. The options are as follows: getent, getenta, host, nslookup, dig, and res_search. |
As necessary |
|
ServerName |
All supported |
REG_SZ |
STRING |
FQDN or IP address of the Tanium Server or Zone Server with which the Client tries to connect. For more information, see ServerName.
Note: If you are manually configuring this setting, specify an FQDN.
Tip: If you are using a package to configure this setting, you can use the Set Tanium Server Name or Set Tanium Server Name [Non-Windows] package.
|
As necessary |
|
ServerNameList |
All supported |
REG_SZ |
STRING |
Comma-separated list of Tanium Server and Zone Server FQDNs or IP addresses with which the Client can try to connect. For more information, see ServerNameList.
Note: Specify FQDNs for this setting.
Tip: If you are using a package to configure this setting, you can use the Set Tanium Server Name List or Set Tanium Server Name List [Non-Windows] package.
|
As necessary |
|
ServerPort |
All supported |
REG_DWORD |
NUMERIC |
The port to use for client-server and, by default, client-client communication. The default is 17472. For more information, see ServerPort.
Note: If you configure the ListenPort or EnableRandomListeningPort setting, it overrides ServerPort for client-client communication. For more information, see Customize listening ports.
|
As necessary |
|
StateProtectedFlag |
All supported |
REG_DWORD |
NUMERIC |
Enables encryption of the Client state and sensor queries stored on the Client
Note:
By default, read access to the Tanium Client directory is restricted for non-Administrators. However, encrypting the Client state and sensor queries can provide additional protection. For information about additional measures to protect the Tanium Client on Windows endpoints, see Manage Client Service Hardening features. |
As necessary |
|
Version |
All supported |
REG_SZ |
STRING |
Tanium Client version number. |
No |
|
1 You can apply this setting using a settings configuration in Tanium Client Management. For more information, see Managing Client settings in Client Management. |
|||||
Tuning Tanium Client settings for VDI endpoints and other endpoints with limited resources
If you are deploying the Tanium Client to virtual desktop infrastructure (VDI) instances or other endpoints with limited resources, you might need to adjust certain Client settings to help to reduce resource usage. The following table lists the best practice adjustments to Client settings for VDI instances. These settings help avoid concentrated resource usage on shared hardware. All settings in the following table are of the registry type REG_DWORD for Windows, or of the type NUMERIC for non-Windows. For information about reviewing and modifying Client settings, see Managing Client settings and Index configurations.
|
Client Setting |
Default Value |
Best Practice Value for VDI |
Explanation |
|---|---|---|---|
|
RandomSensorDelayInSeconds |
0 |
5 |
By default, sensors run immediately. This setting delays the execution of any sensor by a random time up to 5 seconds, which reduces concurrent execution of sensors and packages.
Note: If poor performance occurs on VDI infrastructure, you can increase this value incrementally up to 20.
|
|
MaxAgeMultiplier |
1 |
2 |
Each sensor has a Max Sensor Age setting that determines how long the Client caches sensor results for subsequent questions that include the same sensor. This setting causes the Client to multiply the maximum age configured for each sensor by 2, which doubles the time results are cached for each sensor and reduces sensor executions. |
|
MinDistributeOverTimeInSeconds |
0 |
60 |
Each action has a Distribute Over setting that randomizes the distribution of that action over the specified time. By default, no minimum applies, and some actions might be configured for immediate distribution. This setting forces all actions to distribute over at least 1 minute. |
|
SaveClientStateIntervalInSeconds |
300 |
1800 |
By default, the Client state is written to disk every 5 minutes. This setting increases the time to 30 minutes to reduce disk writes. |
Configure isolated subnets for virtual desktop infrastructure (VDI) instances in a high-density environment with shared storage or for any other virtual endpoints where concurrent disk I/O operations must be limited. Endpoints cache file chunks to share distributed files with peers, which requires multiple endpoints in the linear chain to concurrently read and write file chunks. Isolating an endpoint reduces the concurrent disk I/O that normally occurs when this cache is used to share files with peers. For more information, see File distribution.
For the configuration steps, see Configure isolated subnets.To identify existing VDI Clients for tuning, ask a question appropriate for your environment, and then drill down as necessary. The following table lists example questions that you might ask to identify VDI clients.
|
Identification method |
Example question |
|---|---|
|
Model |
Get Is Virtual from all machines with Is Virtual equals yes Get Chassis Type from all machines with Chassis Type contains virtual Get Model from all machines with Model contains Standard PC |
|
Host name |
Get Computer Name contains VM-PC- from all machines |
|
Active Directory attributes |
Get AD Query - Computer Attributes[Description] contains " VDI " from all machines Get AD Query - Computer Groups equals VDI from all machines |
|
MAC address |
Get MAC Address starts with "00:1c:42" from all machines |
|
IP address |
Get Tanium Client Subnet matches "^192\.168\.(14|16|88|222)\.0\/23$" from all machines Get IP Address matches "^192\.168\.[0-2]\.\d{1,3}$" from all machines |
|
Hardware |
Get Disk Drive Details having Disk Drive Details:Name equals QEMU HARDDISK ATA Device from all machines |
You can also adjust these settings to increase performance on physical endpoints with hardware specifications near the minimum requirements for the Tanium Client, cloud-hosted endpoints, and endpoints where CPU performance must be prioritized, but the appropriate values depend on your environment and business requirements. For assistance with tuning these settings, contact Tanium Support.
The performance of certain features in some Tanium solutions also depends on the resources available on endpoints. For links to requirements for specific Tanium solutions, see Module and service requirements.
Peering settings reference
When Tanium Clients register with the Tanium Server, they also receive values for settings that relate to peering and sensor data. Clients write these settings to the Status registry subkey on Windows endpoints and to the SQLite database (client.db) on non-Windows endpoints. You do not edit these settings, but their values might help you understand expected behavior when troubleshooting peering. You can ask questions to see the values of some of these settings. For more information, see Use questions to review peering settings. Contact Tanium Support for more assistance.
|
Setting Name |
Description |
|---|---|
|
BackPeerAddress |
Address details for the current backward peer. Use the Tanium Back Peer Address sensor (Client Management content set) to see the value for this setting. |
|
BackPreviousPeerAddress |
Address details for the previous backward peer. |
|
BufferCount |
Number of buffered messages that are currently queued for the Tanium Client to process. Use the Tanium Buffer Count sensor (Client Management content set) to see the value for this setting. |
|
ClientAddress |
Address details for the Client host endpoint. Use the Tanium Client IP Address sensor (Base content set) to see the value for this setting. |
|
NeighborhoodList |
Connection details that the Tanium Server provides for up to ten forward and ten backward peers. Use the Tanium Client Neighborhood sensor (Client Management content set) to see neighborhood information. |
|
PeerAddress |
Address details for the current forward peer. Use the Tanium Peer Address sensor (Client Management content set) to see the value for this setting. |
|
PreviousPeerAddress |
Address details for the previous forward peer. |
|
StaleCount |
Count of sensors with stale data. |
|
StaleList |
List of sensors with stale data. |
Tanium Client command line interface (CLI)
CLI on Windows endpoints
Tanium Client settings are written to the Windows registry. The executable program for the CLI, TaniumClient.exe, is in the Tanium Client installation directory. The following examples demonstrate useful CLI commands:
-
Display TaniumClient.exe syntax, commands, and options: TaniumClient --help
-
Display the configuration (config) command syntax and actions: TaniumClient config --help
-
Display the current configuration settings: TaniumClient config list
For the complete list of Client settings that are configurable using the CLI, see Tanium Client settings reference.
Example 1: Set and confirm Server names
The following example shows how to set and confirm the fully qualified domain names (FQDNs) of the Tanium Server with which the Tanium Client can connect in an active-active deployment:
cmd-prompt> TaniumClient config set ServerNameList ts1.tam.local,ts2.tam.local
cmd-prompt> TaniumClient config get ServerNameList
ts1.tam.local,ts2.tam.local
Example 2: Set and confirm log verbosity level
The following example shows how to configure the log verbosity level to level 41 for troubleshooting. Configuring this value using the CLI can be useful to help troubleshoot a Client that is not registering with the Tanium Server.
cmd-prompt> TaniumClient config set LogVerbosityLevel 41
cmd-prompt> TaniumClient config get LogVerbosityLevel
41
Example 3: Require TLS
The following example shows how to configure the connection between Tanium Client and the Tanium Server to require TLS, and then to confirm that TLS is required:
cmd-prompt> TaniumClient config set TLSMode 1
cmd-prompt> TaniumClient config get TLSMode
1
CLI on non-Windows endpoints
Tanium Client settings are written to an SQLite database. The executable program for the CLI, TaniumClient, is in the Tanium Client installation directory. You must either run it as root or use sudo to elevate permissions. The following examples demonstrate useful CLI commands:
-
Display TaniumClient syntax, commands, and options: sudo ./TaniumClient --help
-
Display the configuration (config) command syntax and actions: sudo ./TaniumClient config -h
-
Display the current configuration settings: sudo ./TaniumClient config list
For the complete list of Client settings that are configurable using the CLI, see Tanium Client settings reference.
The following example shows how to set and confirm the FQDNs of the Tanium Server with which the Tanium Client can connect in an active-active deployment:
cmd-prompt> sudo ./TaniumClient config set ServerNameList ts1.tam.local,ts2.tam.local
cmd-prompt> sudo ./TaniumClient config get ServerNameList
ts1.tam.local,ts2.tam.local
The following example shows how to configure the connection between Tanium Client and the Tanium Server to require TLS, and then to confirm that TLS is required:
cmd-prompt> sudo ./TaniumClient config set TLSMode 1
cmd-prompt> sudo ./TaniumClient config get TLSMode
1