Managing Client settings and Index configurations

Tanium Client settings are stored in Windows registry settings on Windows endpoints, or in an SQLite database on non-Windows endpoints.

Note: Do not edit Tanium Client keys and values in the Windows registry. Use one of the methods in Modify Client settings to configure Client settings.

For the list of Client settings that you can review or configure, see Tanium Client settings reference.

You can also use Tanium Client Management to manage Tanium Index configurations, including exclusions and blockout window.

Review Client settings

Use any of the methods in this section to review Client settings. A setting that has not been configured on a Client uses the default value that is configured in Tanium Console (see Modify default Client settings in Tanium Console), or if no value is configured in Tanium Console, the default that is listed in the Tanium Client settings reference applies.

Client Health view

Use the Client Health view in the Client Management service to review a summary of Client settings that are configured across endpoints or detailed Client settings on individual endpoints.

Summary view

Use the main Client Health view to review a summary of Client settings that have been changed from their defaults on some endpoints and the count of endpoints on which each setting has been changed.

  1. From the Main menu, go to Shared Services > Client Management.
  2. Go to Client Health.
  3. Click the Settings tab.
  4. (Optional) Select a Computer Group to filter the summary information.

Detail view

Connect directly to an endpoint to view each Client setting that has been configured for that endpoint.

  1. In the Single Endpoint View search box in the Client Health view, enter all or part of an IP address or a computer name.

    Matching results are displayed after the search completes.

  2. From the search results, click the computer name.

    Client Management opens the Endpoint Details page in Single Endpoint View (SEV).

  3. Click the Client Health tab and, if the endpoint is not yet Connected, click Direct Connect.

    Scroll down to view Client settings for the endpoint.

Tanium Client Explicit Setting Sensor

Ask a question using the Tanium Client Explicit Setting sensor to review Client settings on endpoints. For example, the following question returns the LogVerbosityLevel setting for endpoints that have a computer name that includes Lab:

PYTHON
Get Tanium Client Explicit Setting[LogVerbosityLevel] from all machines with Computer Name contains Lab

For more information about working with question results, see Analyzing question results in Interact.

Command line interface (CLI)

Use the CLI to review Client settings locally on an individual endpoint or to retrieve Client settings in a script.

  • Windows: TaniumClient config get <SettingName>

  • Non-Windows: sudo ./TaniumClient config get <SettingName>

For detailed information about using the CLI, see Tanium Client command line interface (CLI).

Modify Client settings

Use any of the methods in this section to modify Client settings as necessary.

For the list of Client settings that you can configure, see Tanium Client settings reference. A setting that has not been configured on a Client uses the default value that is configured in Tanium Console (see Modify default Client settings in Tanium Console), or if no value is configured in Tanium Console, the default that is listed in the reference applies.

Packages

Deploy the Modify Tanium Client Setting or Modify Tanium Client Setting [Non-Windows] package to configure a Client setting on all targeted endpoints. Because Windows and non-Windows endpoints require separate packages to update settings, repeat the steps for both types of endpoints.

  1. In Interact, ask a question to target the Windows endpoints on which you want to modify a Client setting.
  2. Select the endpoints to target and click Deploy Action.
    Tip: You can drill-down or merge questions to refine the results before selecting endpoints. For more information, see Analyzing question results in Interact.
  3. For Deployment Package, select one of the following packages:
    • Modify Tanium Client Setting for Windows endpoints

    • Modify Tanium Client Setting [Non-Windows]

  4. Configure the following settings:
    • (Windows only) For RegType, select the Windows registry value type that is listed in the Tanium Client settings reference for the setting that you want to modify.

    • (Non-Windows only) For Type, select the non-Windows setting type that is listed in the Tanium Client settings reference for the setting that you want to modify.

    • For ValueName, enter the name of the setting that you want to modify, as listed in the Tanium Client settings reference.

    • For ValueData, enter the value to configure for the setting on targeted endpoints.

    Tip:

    For the following frequently used settings, you can use specific packages that let you enter only the value to configure.

    • LogVerbosityLevel: Use the Set Windows Tanium Client Logging Level or Set Tanium Client Logging Level [Non-Windows] package.

    • ServerName: Use the Set Tanium Server Name or Set Tanium Server Name [Non-Windows] package.

    • ServerNameList: Use the Set Tanium Server Name List or Set Tanium Server Name List [Non-Windows] package.

  5. (Optional) In the Deployment Schedule section, configure a schedule for the action.
    Note: If some target endpoints might be offline when you initially deploy the action, select Recurring Deployment and set a reissue interval.
  6. In the Targeting Criteria section, make sure that the settings target only endpoints that meet the following criteria:
    • The targeted endpoints require the updated setting.

    • The targeted endpoints run an operating system that matches the selected package (Windows or non-Windows).

  7. Click Show Preview To Continue, review the list of targeted endpoints, and then click Deploy Action.
    Important: Clients do not apply the updated setting until you manually restart them or wait for the automatic Client reset, which by default is a random interval in the range of 2 to 6 hours.
  8. (Optional) Restart the Tanium Client service on each endpoint to apply the updated setting immediately:
  9. Review the setting on the targeted Clients to verify that it has been correctly updated. For more information, see Review Client settings.

Command line interface (CLI)

Use the CLI to configure Client settings locally on an individual endpoint or from a script.

  • Windows: TaniumClient config set <SettingName> <Value>

  • Non-Windows: sudo ./TaniumClient config set <SettingName> <Value>

For detailed information about using the CLI, see Tanium Client command line interface (CLI).

Modify default Client settings in Tanium Console

Many Client settings have a default value that applies when the setting is not configured on a Client, as listed in the Tanium Client settings reference. You can modify the default value for a Client setting in the advanced settings in Tanium Console. This default applies to any managed endpoint that does not have the setting explicitly configured locally.

  1. From the Main menu, go to Administration > Configuration > Settings > Advanced Settings and click the Client tab.
  2. Edit or add a setting as necessary:
    • If the setting for which you want to configure a default appears in the list, click the name of the setting, enter a new Value, and click Save.

    • If the setting for which you want to configure a default does not appear in the list, click Add Setting, configure the following properties, and click Save:

      • For Setting Type, select Client.

      • For Platform Setting Name, enter the name of the setting from the Tanium Client settings reference.

      • For Value Type, select Text for a setting that lists "REG_SZ" as the registry value type or "STRING" as the setting type, or select Numeric for a setting that lists "REG_DWORD" as the registry value type or "NUMERIC" as the setting type.

      • For Value, enter the value to use as the default for the Client setting.

Managing Client settings in Client Management

Use the Client Management service to manage Client settings to different groups of Clients.

Create and deploy a Client settings configuration

Create a settings configuration to configure general Client settings for a group of Clients.

  1. From the Main menu, go to Shared Services > Client Management.
  2. Go to Configuration Management > Settings Configurations and click Create Settings Configuration.
    Tip: To edit an existing settings configuration, click the name of the configuration, and click Edit. When you edit a configuration, you must manually redeploy it.
  3. Enter a Name for the profile configuration.
  4. Click Select Computer Groups, select the computer groups where you want the settings configuration to apply, and click Save.
  5. Configure the following general Client settings.
    Table 1. General Tanium Client settings in Client Management

    Setting Name

    Description

    Cache Size

    The size limit, in MB, for the file cache on an endpoint. The default is 2048. For more information, see Chunk caching.

    Logging Level

    The level of logging on an endpoint. The following values are best practices for specific scenarios:

    • 1 (default): Use this value during normal operation.

    • 41: Use this value during troubleshooting.

    • 91 or higher: Use this value for full logging, for short periods of time only.

    Note:

    A value of 0 disables logging. As a best practice, do not disable logging.

    Extensions Logging Level

    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:

    • 11 (default): Use this value during normal operation.

    • 41: Use this value during troubleshooting.

    • 91 or higher: Use this value for full logging, for short periods of time only.

    Note: A value of 0 disables logging. As a best practice, do not disable logging.
  6. If you are creating a settings configuration that applies to virtual desktop infrastructure (VDI) endpoints, select Enable VDI Settings, and configure the following VDI settings. Configuring these settings on individual endpoints overrides the values configured in Platform Settings (Administration > Configuration > Settings > Advanced Settings) and can reduce resource use on VDI endpoints when you set the best practice values for VDI. For more information about tuning settings for VDI endpoints, see Tuning Tanium Client settings for VDI endpoints and other endpoints with limited resources.

    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.

  7. To prevent end users from stopping the Tanium Client service or tampering with Tanium Client files or registry entries on Windows endpoints, select Enable Anti-Tamper.
    Note:
    • To enable this setting, you must have configured an anti-tamper recovery password in Client Management. For the steps, see Configure the anti-tamper recovery password.

    • For general information about using tamper protection, see Manage tamper protection.

    • This feature requires Tanium Client 7.6.4.2033 or later. If you enable this setting, only endpoints with Tanium Client 7.6.4.2033 or later will be targeted by this settings configuration.

  8. Click Save.
  9. To deploy the settings configuration to the selected computer groups, click Actions options2 in the row for the configuration, and select Deploy.

Prioritize Client settings configurations

The order of the configurations in the Settings Configurations list determines the priority of each configuration. If multiple configurations target an endpoint, the configuration with the highest priority takes effect on the endpoint. You can reorder the list to adjust the priority of each configuration.

  1. From the Main menu, go to Shared Services > Client Management.
  2. Go to Configuration Management > Settings Configurations, and click Prioritize.
  3. Drag the configurations in the list to reorder them according to priority, and then click Prioritize.

Managing Index configurations in Client Management

Create an Index configuration to configure Index exclusions, the maximum Index database size, and blockout windows for a group of endpoints.

An Index exclusion keeps files and paths that match a regular expression out of file system indexes on endpoints. Excluding unnecessary files from indexing can reduce resource use. For example, consider creating an exclusion if you have an application that writes to a temp file. With an exclusion, the temp file is not indexed and hashed every time it changes.

An Index blockout window prevents Index from indexing and hashing during certain times when endpoints are normally in use, to reduce resource use.

For more information about Index, see Tanium™ Client Management.

Important: Index exclusions that you define in Client Management apply globally to all Tanium solutions that use Index, such as Integrity Monitor, Reveal, and Threat Response. Exclusions that you add in other solutions are not visible in Client Management; make sure to view the exclusions in each solution to understand the full list of exclusions that apply for that solution. Furthermore, exclusions defined in Threat Response also apply globally. To remove a global exclusion, it must not remain in either an Index configuration in Client Management or Index exclusions in Threat Response.
Note: Exclusions prevent Index from including any indicated files in the Index database. However, Index still reads the metadata of excluded files in some situations, such as when the file exists within a high priority path.

Create Index exclusions

First, create a set of Index exclusions that can be reused across multiple Index configurations.

  1. From the Main menu, go to Shared Services > Client Management.
  2. Go to Configuration Management > Index Exclusions and click Create Index Exclusion.
  3. Enter a Name for the exclusion.
  4. Select the Operating System where the exclusion applies.
  5. Enter a Regular Expression that identifies the files or paths to be excluded.

    For example, to exclude the Windows paging file, swap file, and hibernation file, enter the following regular expression:

    \\(pagefile|swapfile|hiberfil)\.sys

    Important:

    The case sensitivity of Index exclusions depends on the operating system of the endpoint:

    • Windows and macOS: Index exclusions are case-insensitive.

    • Linux, AIX, and Solaris: Index exclusions are case-sensitive.

  6. Click Save.

(Optional) Import or export Index exclusions

You can export and then import Index exclusions in JSON format to share or move them between Tanium environments.

Export Index exclusions

  1. From the Main menu, go to Shared Services > Client Management.
  2. Go to Configuration Management > Index Exclusions.
  3. To export all exclusions, click Export All, or select specific exclusions and click Actions > Export.

Import Index exclusions

  1. From the Main menu, go to Shared Services > Client Management.
  2. Go to Configuration Management > Index Exclusions and click Import.
  3. Click Select Index Exclusions JSON file and use the file dialog to select a JSON file that contains exported Index exclusions.
  4. Click Upload.

Create an Index configuration

  1. From the Main menu, go to Shared Services > Client Management.
  2. Go to Configuration Management > Index Configurations and click Create Index Configuration.
    Tip: To edit an existing settings configuration, click the name of the configuration, and click Edit. When you edit a configuration, you must manually redeploy it.
  3. Enter a Name for the profile configuration.
  4. Click Select Computer Groups, select the computer groups where you want the settings configuration to apply, and click Save.
  5. Configure any settings that you want to apply to the configuration:
    • To configure a maximum database size that applies to each endpoint, select Max Index Database Size and configure a maximum size.

      If you have enabled a maximum database size and the Index database on an endpoint reaches the configured size, Index stops indexing and hashing files on that endpoint. This condition appears in TPAN reports.

      Note: Though this setting provides a fail-safe to avoid filling the storage on an endpoint if unexpected files cause the database to grow quickly, use exclusions as much as possible to avoid indexing temporary files and other unnecessary files.
    • In the Index and Hashing Blockout Windows section, configure the times during which you don't want to index and hash files on endpoints.

      • Select how the configured times apply on each endpoint:

        • Local Endpoint Time: The configured times apply to each endpoint based on the local time configured on that endpoint. The configured windows occur according to each time zone.

        • UTC: The configured times represent Coordinated Universal Time (UTC). The configured windows occur at the same time on all endpoints according to UTC and regardless of time zones.

      • Configure the days and times for blockout windows:

        • (Optional) Click Add Business Hours to add the typical business hours, which you can then edit.

        • Click Add Custom Window to configure days and times for a blockout window.

      Note: Blockout windows cannot span midnight in a single window. To create a blockout window that spans midnight (for example, 10:00 PM to 4:00 AM), create two separate windows: one from 10:00 PM to 11:59 PM and one from 12:00 AM to 4:00 AM. Index treats 11:59 PM (23:59) as midnight (00:00), so the two windows are contiguous with no gap.
    • To apply Index exclusions, click Select Exclusions, select the exclusions to apply to this configuration, and click Confirm.

  6. Click Save.
  7. To deploy the Index configuration to the selected computer groups, click Actions options2 in the row for the configuration, and select Deploy.

Prioritize Index configurations

The order of the configurations in the Index Configurations list determines the priority of each configuration. If multiple configurations target an endpoint, the configuration with the highest priority takes effect on the endpoint. You can reorder the list to adjust the priority of each configuration.

  1. From the Main menu, go to Shared Services > Client Management.
  2. Go to Configuration Management > Index Configurations, and click Prioritize.
  3. Drag the configurations in the list to reorder them according to priority, and then click Prioritize.