Managing sensor results collection through TDS
Overview of TDS
Tanium Data Service (TDS) is a shared service that periodically collects and caches sensor results from endpoints. The cache enables Tanium Console, Tanium Interact, and other Tanium solutions to respond quickly to questions about endpoint status, configuration, or activity, even for endpoints that are currently offline. Many sensors are automatically registered with TDS for collection. You can also manually register additional sensors to support workflows and content (such as dashboards) that depend on the data.
For example, Interact users can issue a question to view cached data about the hardware specifications of offline endpoints. As another example, Tanium Reporting dashboards can quickly load both real-time data and historical cached data for charts that show trends related to common vulnerabilities and exposures (CVEs).
TDS does not have a dedicated workbench. You register sensors for data collection and customize TDS settings through the Interact workbench.
TDS also caches sensor data that Tanium solutions generate without running sensors on endpoints. For more information, see Endpoint data sources that are not on endpoints.
For the user role permissions required to manage sensor results collection, see Tanium Data Service (TDS) permissions.
To troubleshoot issues that relate to sensor results collection, see Troubleshoot TDS issues.
Viewing TDS results
You can view cached results for both online and offline endpoints in the workbenches of several Tanium solutions, including:
-
Interact Question Results: On the Question Results page, select the Cached option. For more information, see Display results for online and offline endpoints.
-
Explore Data page: For more information, see Explore data.
-
Reports: For more information, see Reports.
-
Dashboards: You can view dashboards in Tanium Console (the Tanium Home page), Reporting, and other Tanium solutions. For more information, see Dashboards.
Results collection and removal settings
TDS collects sensor results from endpoints by issuing questions in batches to minimize bandwidth usage and endpoint processing. By default, TDS caches the results from each endpoint for 30 days after the last successful collection and periodically removes expired results through a garbage collection process. You can customize the collection and garbage collection settings to suit the needs of your environment and organizational policies. For example, your organization might have compliance standards that mandate data storage for a specific time range. For more information, see:
Sensor registration and results collection process
TDS collects results only from sensors that are registered for collection. TDS and other Tanium solutions automatically register certain sensors and you can manually register other sensors. For more information, see:
The following figure illustrates the process of sensor registration, results collection, and viewing results.
|
|
TDS automatically registers multiple sensors for collection after you install Tanium Interact. Other Tanium solutions also automatically register sensors upon installation. |
|
|
You can manually register additional sensors through the Interact workbench. |
|
|
TDS periodically issues questions with the registered sensors to collect results from endpoints. |
|
|
Access Interact, Reporting, or other solutions through Tanium Console to view question results, reports, or dashboards. |
|
|
Tanium solutions retrieve and show the latest data from TDS. The service provides current data for online endpoints and cached data for offline endpoints. |
Timing for sensor results caching and updates
The Tanium Server reissues the questions for registered sensors every two hours to update the results in the TDS cache. The questions remain open (not expired) on endpoints for the entire two-hour reissue interval. However, the Tanium Client updates its own results cache at intervals that might differ from the question interval. The freshness of the result that the Client returns for any particular sensor depends on the Max Sensor Age setting in the sensor configuration. The setting determines the maximum time for which the Client returns a cached result when answering questions, instead of rerunning the sensor for a fresh result.
For example, the Max Sensor Age for the CPU Consumption sensor is 10 minutes. When the Tanium Server issues a question with that sensor to collect results for TDS, the Client runs the sensor, stores the result in its cache, and returns the result to the Server. If the Client receives any other question with the CPU Consumption sensor in the next 10 minutes, the Client returns its cached result. When 10 minutes pass, the Client reruns the sensor because the original question is still open. The Client then updates its cache and returns the fresh result to the Server, which updates the TDS cache. This update cycle ensures that the TDS results for the CPU Consumption sensor are never more than 10 minutes old for online endpoints. Conversely, the Client returns a fresh result for the AD Domain sensor only once every 24 hours because that sensor has a Max Sensor Age of 1 day. If an endpoint is currently offline, the age of its results in the TDS cache reflect the last time the endpoint was online and returned a result.
For more information, see Create a sensor.
Endpoint data sources that are not on endpoints
Tanium solutions can send endpoint data directly to TDS without the need for a sensor that runs on endpoints. For example, if you add the virtual sensor Tanium Risk Score to reports, Tanium™ Benchmark calculates its values without using a source on endpoints. Other sensors derive data partly from data on endpoints and partly from data that Tanium solutions generate. For example, Tanium™ Comply generates some of the data for the sensor Comply - Compliance Findings Details and some of the data for that sensor comes from another sensor that runs on endpoints, Comply - Compliance Status. For more information, see
Purging short-lived endpoints
A short-lived endpoint is one that is online less than 1% of the time (approximately 30 minutes) within a 48-hour period that starts when TDS first receives sensor results from that endpoint. TDS purges all the results of short-lived endpoints. TDS checks for short-lived endpoints and purges them every 15 minutes by default. You can change the check and purge frequency through the Garbage Collection Interval setting as described in Configure removal of expired results.
View sensor registration details
Viewing registration status and related details for sensors can help you manage and troubleshoot data collection from endpoints:
Register or unregister sensors for collection
Sensor registration and unregistration
After you register or unregister sensors for collection, TDS automatically applies the changes for the next collection, when the Tanium Server issues questions to update the sensor results. Additionally, after you register a sensor for collection, the Server immediately starts collecting results for the sensor.
Unregistering sensors
After you unregister a sensor, TDS purges results for the sensor after 30 days by default. To purge results sooner, see Purge results for specific sensors and Configure removal of expired results.
You cannot unregister a sensor that is registered by default. For more information, see Sensors that are registered by default and Sensors for computer groups.
Sensors for computer groups
TDS automatically registers sensors that define membership in custom computer groups when you assign those groups to at least one of the following:
-
User
-
Persona
-
User group with at least one user or persona that does not have Unrestricted Management Rights for all computer groups
You cannot manually unregister a sensor in the preceding cases. However, if you later unassign the custom computer group from all users, personas, and user groups, TDS automatically unregisters the sensor. For more information, see Assign computer groups.
Resource consumption for registered sensors
When you decide which sensors to register with TDS, consider that results collection consumes resources such as network bandwidth, processing on endpoints, and disk space on the Tanium Server. Resource consumption increases with the cardinality of sensors. For example, the IP Address sensor produces a unique result string for each endpoint, whereas the Operating System (OS) sensor produces the same string for all endpoints that have the same OS. In this case, the high cardinality IP Address sensor requires more bandwidth, CPU usage, and storage than the Operating System sensor.
For more information, see Monitor resource usage for sensor results collection.
Manage sensor registration
Perform the following steps to register or unregister sensors:
Pause or resume collection
When the Tanium Server issues questions to update sensor results, it excludes any paused sensors. You can pause or resume collection for individual sensors without unregistering or re-registering them. When you pause a sensor, the Question Results page, reports, and dashboards continue showing the last results (if any) that the Server collected for that sensor before you paused it.
You cannot pause sensors that are registered by default. For more information, see Sensors that are registered by default.
- From the Main menu, go to and click Settings
> Registration and Collection.
- (Optional) Use filters to find specific sensors. For more information, see View sensor registration details.
- Select to pause collection or to resume collection for a sensor.
After you resume collection for a sensor, the Tanium Server immediately starts collecting the sensor results.
Configure the maximum number of sensors per TDS question
To collect results for registered sensors, the Tanium Server issues questions one batch at a time. TDS downloads the results from the Server and writes the results to the Tanium database. For multi-column sensors, TDS applies a non-configurable limit of one sensor per question. For single-columns sensors, the Max Sensors Per Question setting sets a limit of 30 sensors per question by default. This setting is intended to prevent excessive consumption of network bandwidth and endpoint processing. The setting is also intended to prevent TDS from consuming too much Server memory when downloading and writing results. You can edit the setting as necessary based on the number of sensors that you registered for collection and on the resource limits of your network, Tanium Server, and endpoints.
- From the Main menu, go to .
- Click Settings
.
- In the Max Sensors Per Question field, specify the maximum number of single-column sensors in each question that the Tanium Server issues to collect results.
Purge results for specific sensors
You can purge the results of selected sensors from storage so that the Question Results page, reports, and dashboards do not display them.
You cannot purge the results of sensors that are registered by default. For more information, see Sensors that are registered by default.
TDS automatically removes results for endpoints that do not answer questions within the Max Endpoint Age interval. To configure this garbage collection process, see Configure removal of expired results.
- From the Main menu, go to and click Settings
> Registration and Collection.
- (Optional) Use filters to find specific sensors. For more information, see View sensor registration details.
- Unregister or pause collection for the sensors that you want to purge:
- Pause collection: Select .
- Unregister: Select .
- For each sensor that you want to purge, select and click Confirm.
Configure removal of expired results
When TDS stores results, it maps them to each endpoint and evaluates their expiration age relative to when the endpoint last returned updates. This means that if multiple endpoints returned the same results but at different times, the garbage collection process removes only the results for endpoints that did not return updates within the expiration interval (Max Endpoint Age setting). You can edit garbage collection settings as necessary based on the growth rate for result strings and the available resources (storage space and memory) in your deployment. To monitor string growth and determine which sensors are generating the most strings, see Monitor resource usage for sensor results collection.
Sensors that are registered by default
Tanium solutions register certain sensors for collection by default. After you install Interact, the Tanium Server immediately starts collecting and storing results for the registered sensors. You cannot unregister, pause collection, or purge results for these sensors.
Endpoint identification sensors
TDS automatically registers Tanium Core Platform sensors that uniquely identify endpoints.
For example, TDS registers the following sensors and uses their results to generate the virtual sensor Endpoint ID. TDS uses Endpoint ID to accurately match endpoints with all their sensor results for storage in the Tanium database.
-
Computer Name
-
Computer ID
-
Endpoint Fingerprint
Computer group sensors
TDS automatically registers Tanium Core Platform sensors that define membership in Tanium-provided computer groups. Examples of these sensors are:
-
Chassis Type
-
Is AIX
-
Is Linux
-
Is Mac
-
Is Solaris
-
Is Virtual
-
Is Windows
-
Operating System
-
Operating System Generation
-
Windows OS Release ID
-
Windows OS Type
TDS also automatically registers sensors that define membership in custom computer groups if you assign those groups to a user, persona, or (under certain conditions) user group. For more information, see Sensor registration and unregistration.
If some sensors that define computer group membership are not yet available in your deployment, you can import them through the content-only solution Default Computer Groups. For more information, see Content-only solutions.
Virtual sensors
TDS automatically registers certain virtual sensors, such as the following examples:
-
Endpoint ID
-
EID Last Seen
-
EID First Seen
For more information, see Virtual sensors.
Solution-registered sensors
Tanium solutions automatically register certain sensors when you import the solutions. These include sensors that run on endpoints, virtual sensors, and sensors with solution-generated attributes. For more information, see Solution-generated sensor attributes.