Interact overview
Tanium Interact is a module that you use to issue questions to managed endpoints and analyze their results (answers). You can then select results to deploy actions to the endpoints.
For example, if you issue the question Get Computer Name and Uptime from all entities with Uptime > 60 days, the Interact Question Results page lists all the endpoints that have been running for more than 60 days after they last rebooted. You can then select specific endpoints and deploy an action with the Reboot Windows Machine package to those endpoints.
You can also use question results to start a playbook in Tanium™ Automate or access comprehensive information about a single endpoint in Tanium™ Reporting.
For more information, see:
What is a question?
A Tanium question is a query that you issue through Tanium solutions to managed endpoints. Tanium Clients running on the endpoints process the question and return answers that you can view on the Question Results page. Questions enable you to explore endpoints in the course of various Tanium operations for managing, monitoring, and protecting your environment.
For example, you can issue the question Get Computer Name and Last Logged In User from all machines with Last Logged In User contains <user name> to determine which endpoints a particular user is accessing.
A dynamic question is one that you create from scratch and issue through the Interact features Ask a Question and Question Builder. For more information, see Issue a free-form question and Issue a question through the Question Builder.
A saved question is a configuration object that enables you to reissue a question without recreating it. For more information, see Saved questions.
All questions include the following elements:
-
get clause
In the get clause, one or more sensors (such as Last Logged In User) specify the information to retrieve from endpoints. You can add filters to the sensor results by using an operator, such as matches or is greater than. Use the and operator to separate multiple sensors. For more information, see What is a sensor?, Filters in get clause, and Questions with multiple sensors.
-
from clause
The from clause specifies the target endpoints that must answer the question. For example, the default valuefrom all machines specifies all endpoints that host the Tanium Client. To target fewer endpoints, add filters to the from clause. For more information, see Filters in from clause.
Note: To return results, endpoints must be members of computer groups assigned to the user account or persona that you use to issue the question, regardless of the from clause targeting. For more information, see Computer groups in questions.
Advanced questions include reserved words or characters (such as match or $), regular expressions, filters, or advanced options. For more information, see Reference: Advanced question syntax in Interact.
What is a sensor?
A sensor configuration includes a script that the Tanium Client runs on an endpoint to compute an answer to a Tanium question. The Tanium Server distributes sensors to endpoints managed using Tanium Client during Client registration. Sensors enable you to ask questions that collect information such as:
-
Hardware and software inventory and configuration
-
Running applications and processes
-
Files and directories
After all the sensors in a question compute answers, Tanium Clients return the answers to the Tanium Server. Interact then shows the answers, called results, in grid format on the Question Results page. Each sensor result provides one or more rows and columns of information that the grid aggregates according to whether you issued a counting or non-counting question. For examples, see:
The Question Results page also shows a Count column that indicates how many endpoints returned each result. For more information, see Counting and non-counting questions.
The Tanium Server automatically imports content-only solutions that include sensors for a wide range of common questions. Other Tanium solutions that you import might provide more sensors. If you cannot find a sensor that you need within Tanium-provided content, you can create custom sensors.
For more information, see:
-
Content-only solutions for information about the initial content that the Tanium Server provides automatically.
-
Managing sensors for collecting endpoint data for the steps to view, create, or edit sensor configurations.
-
Analyzing question results in Interact for the steps to perform operations on sensor results, such as filtering and analyzing.
-
Virtual sensors for information about sensors for which Tanium solutions generate data instead of collecting it from endpoints.
-
Solution-generated sensor attributes for details about sensor attributes (columns) for which Tanium solutions generate data instead of collecting it from endpoints.
Example: Single row of results
Operating System is an example of a sensor that returns a single row for each unique result from endpoints.
Example: Multiple rows of results
IP Address is an example of a sensor that can return multiple rows for one endpoint if the endpoint has multiple interfaces and a mix of IPv4 and IPv6 addresses.
Example: Multiple rows and columns of results
Installed Applications is an example of a sensor that returns multiple rows and columns for each endpoint: one row for each application on the endpoint and two columns to indicate the application name and version. For more information, see Example: Multi-column sensors.
If the question has multiple sensors, the Question Results grid shows their results in separate columns. If one of the sensors provides multiple columns, the column headings show the sensor name above the column names. In the following example, the Installed Applications sensor provides the application Name and Version columns. For more information about multi-sensor questions, see Questions with multiple sensors.
Counting and non-counting questions
The Interact Question Results grid aggregates results differently based on whether you issued a counting or non-counting question. For a counting question, the Count column shows how many endpoints returned the same unique value in a result that has one or more values for a single sensor. For a non-counting question, the Count shows how many endpoints returned all the same values in all the results of one or more sensors. Results aggregation describes this Count distinction in detail.
A question with multiple sensors in its get clause is always a non-counting question. A question with one sensor in its get clause is a counting question by default but you can convert it to a non-counting question. For more information, see Convert counting questions to non-counting questions. Before you issue a single-sensor question, consider the following ramifications of counting and non-counting questions.
Results aggregation
The Question Results grid presents results the same way for a counting or non-counting question if each endpoint provides only one value for the result of a single sensor. Each grid row shows one unique value and the Count of endpoints that returned the value. Operating System is an example of a single-value sensor.
The Installed Applications sensor is an example of a sensor that includes multiple sets of values from each endpoint. Each set is the name and version of an application and the result includes as many sets as the endpoint has applications. The Question Results grid presents the results of a multi-value sensor differently for non-counting and counting questions:
-
Non-counting question
Each grid row shows the Count of endpoints that return all the same value sets in a result. In the following example, a non-counting question is useful if you want to know how many endpoints have all the same application versions.
Figure 6. Non-counting question -
Counting question
Each grid row shows the Count of endpoints that return the same unique value set. In the following example, a counting question is useful if you want to know how many endpoints have a particular application version, regardless of whether any endpoints share all the same application versions. The grid shows how many endpoints have Microsoft Remote Desktop version 10.6.1 and how many have Microsoft Silverlight 5.1.5.0918.0, but the grid does not show how many endpoints have both.
Figure 7. Counting question
Results readability and network traffic
The Question Results grid might show more rows than you can effectively review for a non-counting question. For example, if your network has five operating systems (OSs) across 10,000 endpoints, the grid would show 10,000 rows for the non-counting question Get?forceComputerIdFlag=1 Operating System from all machines because each result includes the Computer ID along with the Operating System of each endpoint. In this case, if the only important information is the count of endpoints that run each OS, you could issue the counting question Get Operating System from all machines and the grid would be more readable with only five rows to review. In this example, the counting question would also generate much less network traffic for the Tanium Server to process because the endpoints return only five result strings.
Merge questions
You can select only a non-counting question for a merge operation on question results. For more information, see Merge questions.
Recent results
The Tanium Server stores question results as recent results only for non-counting saved questions. The Question Results page shows recent results when live results are unavailable, such as when the answering endpoints are offline. For more information, see Display results for online and offline endpoints.
[too many results] message
The Question Results page shows [too many results] to indicate that more results are available but Tanium Clients will not return the additional results. If a counting question returns this message, converting it to a non-counting question might resolve the issue. For more information, see Too many results.
Convert counting questions to non-counting questions
Specify the Force Computer ID option to issue a single-sensor question as a non-counting question. This option compels endpoints to return results for the Computer ID sensor along with the results for the sensor that you specify in the question. The Tanium Server stores the Computer ID results but the Question Results page shows only the results for the sensor that you specify in the question. Specify the Force Computer ID option through one of the following methods:
-
Ask a Question field: Use the Get?forceComputerIdFlag=1 statement instead of Get. For more information, see Issue a free-form question.
-
Question Builder
: Specify the Force Computer ID option in the Advanced Question Options. For more information, see Issue a question through the Question Builder.
-
Saved question configuration: Select the option Yes, turn into non-counting question. For more information, see Create a saved question.
Questions with multiple sensors
When you construct a question, use the AND operator in the get clause to specify multiple sensors. The Question Results page groups results by the first sensor, then by the next sensor, and so on, as the following example illustrates. For more information about how the Question Results page shows sensor results across multiple columns, see What is a sensor?.
Questions with parameterized sensors
A parameterized sensor uses a value that you specify when entering the question in the Ask a Question field or Question Builder. The following example shows the Registry Value Data sensor. Interact prompts you to specify a registry path and value.
Another example is the High CPU Processes sensor. You can specify a parameter that is the number of CPU processes to return from each machine. For example, you might want to get the top 5 highest CPU utilizing processes. The question has the following syntax:
Get High CPU Process[5] from all machines
For sensors with multiple parameters, you can specify an ordered list of comma-separated parameters. For example, to see the first 10 lines from the action log for the action with ID 1, specify a parameter list as follows:
Get Tanium Action Log[1,10] from all machines
For more information, see Example: Parameterized sensors.
Questions with target filters
You can use a filter in the from clause of a question to target fewer endpoints than the default all machines. For example, the following question targets only endpoints managed using Tanium Client where CPU consumption exceeds 80%.
Filters in the from clause are the first part of a question that an endpoint processes. If the endpoint data does not match the filter, the endpoint does not process the question any further. If the question has multiple filters, the endpoint evaluates each filter. The filter expression must evaluate to a Boolean true or false. For example, the expression from all machines with CPU Consumption > 80% evaluates to true if CPU consumption exceeds 80% on the endpoint and evaluates to false otherwise. If a filter evaluates to true, the endpoint runs the sensors in the get clause of the question and returns the results.
A parameterized sensor like File Exists[] returns the result File Exists: <file name> or File does not exist, so be careful how you enter the sensor in a filter expression. The filter expression from all machines with File Exists["C:\Program Files\PuTTY\putty.exe"] contains "Exists" evaluates to true when the result is File Exists: C:\Program Files\PuTTY\putty.exe and false when the result is File does not exist, so you can use it to filter the set of responses.
Filter expressions can match strings or regular expressions. For more information, see Reference: Advanced question syntax in Interact.
Question expiration
When the Tanium Server issues a dynamic or saved question, it remains open (not expired) for 10 minutes on the targeted endpoints. Upon receiving a question, the Tanium Client on each endpoint runs the sensors in the question, stores the results in its Client cache, and returns the results to the Server. If the Client reruns a sensor from the question during the 10-minute expiration interval, the Client returns the fresh result of that sensor to the Server. The frequency at which the Client reruns 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, if the Max Sensor Age is 8 minutes, the Tanium Client runs the sensor twice: first upon receiving the question and then again after 8 minutes. If the Client receives another question between those two instances, the Client returns a cached result instead of rerunning the sensor. If the Max Sensor Age exceeds 10 minutes, the Client runs the sensor only once before the question expires.
For more information, see Maximum Data Age.
For each question, the Tanium Server assigns an identifier (ID) that appears in the URL field of your browser when the Question Results page opens. For example, in the URL https://10.20.30.40/#/interact/q/376, the question ID is 376. The question and its ID expire 10 minutes after the question is issued, at which point the URL becomes invalid. This means you can refresh the page or share a link to its URL only within that 10-minute period. If you navigate to the URL after 10 minutes, Interact displays a Question Expired message and Copy Question button. Clicking the button reissues the question.
Saved questions
Saved questions are questions that you store on the Tanium Server as configuration objects that include settings such as reissue intervals and access permissions. Saved questions expedite collecting information from endpoints because you can reissue the questions without reconstructing them in the Interact Ask a Question field or Question Builder. You can configure settings that facilitate merge and drill-down operations when you analyze question results. You can also associate each question with specific packages to facilitate action deployment.
To control which saved questions appear as favorites on the Tanium Home page, see Filter by favorites.
For information about the user roles and permissions required to manage saved questions, see Content management permissions. For information about how RBAC assignments control who can issue saved questions and view the results, see Policy actions.
Scheduled saved questions
You can reissue saved questions manually or based on a schedule through Tanium solutions or custom applications that use the Tanium XML API. For example, you can use Tanium™ Connect to periodically issue a saved question and send the results to an external server. If you schedule reissue intervals, saved questions can collect results in the future from endpoints that are not yet online. For example, employee laptops that are offline at the moment you save the saved question configuration might be online at least once during an eight-hour reissue interval.
You can set a periodic reissue interval when you create a saved question: select Reissue this question every and specify a number and unit for the reissue interval: Minutes, Hours, Days. The Tanium Server first issues the saved question immediately after you save the configuration and Tanium Clients that are online at that time return their answers.
If you configure reissuing, the Tanium Server reissues the saved question in the background at the specified interval. For example, if you save the saved question configuration at 9:00 a.m. local time and specify a reissue interval of every eight hours, the the Server reissues the saved question at 5:00 p.m., 1:00 a.m., 9:00 a.m., and so on.
By default, the Tanium Server stores responses for seven days. The Interact Question Results page shows the responses as Recent results for endpoints that are offline when the the Server issues the question. For more information, see Display results for online and offline endpoints.
You can use the question history to verify that the Tanium Server issues the saved questions based on the specified reissue interval. For more information, see Question history.
If you specify an eight-hour reissue interval, the Tanium Server reissues the question exactly every eight hours, regardless of time changes due to daylight savings time.
Which users can see the reissue interval for a saved question depends on the computer groups assigned to those users. For more information, see Reference: User-specific saved questions.
Predefined and custom saved questions
Tanium solutions that you import provide predefined saved questions. To list the questions and view their details, see . On the page, the User Name column shows Tanium solutions as the owners of predefined questions.
You can also create a saved question by issuing a dynamic question through the Ask a Question field or Question Builder and then saving the question. For more information, see .
For best practices, RBAC details, and procedures related to saved questions, see Reissuing saved questions in Interact.
Interact dashboards and categories
Interact uses dashboards and categories to organize saved questions.
-
Dashboard
A dashboard is a group of saved questions that are related with respect to the information that they retrieve from endpoints. For example, the predefined Hardware Inventory dashboard contains questions that retrieve CPU, disk, memory, and BIOS information. You can issue all the questions in a dashboard simultaneously. For more information, see Issue a dashboard of saved questions.
Note: Interact dashboards differ from Tanium Reporting dashboards. For more information, see Dashboards. -
Category
A category is a group of related dashboards. It serves as an umbrella term for questions that you use for a particular purpose. For example, the Security category includes multiple dashboards that contain security-related questions.
Interact provides predefined dashboards and categories, and you can create your own. To create, edit, reassign, export, or delete dashboards and categories, see Manage categories and dashboards.
For more information about controlling access to dashboards and categories through content set assignments, see RBAC for saved questions, dashboards, and categories.
Questions results
After you issue a question, the Question Results page opens and contains a grid with the answers (results) from endpoints. The page facilitates analyzing the results by providing display options such as live updates, filters, and charts. For more information, see Analyzing question results in Interact.
The Tanium Server issues questions automatically at intervals to collect results for sensors that are registered with Tanium Data Service (TDS). For more information, see Managing sensor results collection through TDS.
Actions and playbooks
After you use Interact to issue a question, analyze the question results, and determine which endpoints require changes, you can deploy an action that runs a package on those endpoints or you can start a playbook using Automate. For more information, see:
Tanium Autonomous IT Platform in Interact
Tanium Autonomous IT Platform comprises a set of interrelated features across multiple Tanium solutions. The Autonomous IT Platform proactively collects intelligence about conditions in Tanium environments, provides guidance based on those conditions, and enables automated workflows to address issues. For more information, see Overview of Tanium Autonomous IT Platform. Tanium Interact provides the following Autonomous IT Platform features:
-
Adaptive actions: An adaptive action applies changes to endpoints through a sequence of progressive phases called rings. Actions apply the changes by running content such as packages on the endpoints. Ring-based deployment enables you to safely test action impacts, mitigate disruptions to your environment, and protect sensitive resources when rolling out endpoint changes. For more information, see Deploying actions and playbooks in Interact.
Supported languages
You can select one of the languages in the following table for user interface (UI) text in the Interact workbench and Tanium documentation. The language that you select for the workbench also sets the date and time format:
-
Dates: In the table, the letters dd, mm, and yyyy represent the digits for day, month, and year respectively.
-
Times: English (United States) times use the 12-hour clock in the format hh:mm:ss [AM|PM] <time zone>, where hh, mm, and ss represent the hour, minute, and second respectively. Other times use the 24-hour clock, where GMT-<#> indicates the offset from Greenwich Mean Time (GMT). For example, GMT-7 indicates a time zone that is 7 hours ahead of GMT.
|
Language |
Locale code |
Date and time format |
|---|---|---|
|
English (United States) |
en-US |
mm/dd/yyyy [AM|PM] <time zone> |
|
French (France) |
fr-FR |
dd/mm/yyyy GMT-<#> |
|
German (Germany) |
de-DE |
dd/mm/yyyy GMT-<#> |
|
Japanese (Japan) |
ja-JP |
yyyy/mm/dd GMT-<#> |
|
Korean (Korea, Republic of) |
ko-KR |
yyyy.mm.dd GMT-<#> |
|
Spanish (Latin American) |
es-LA |
dd/mm/yyyy GMT-<#> |
For information about language support, which types of text are translated, and the steps to select a language, see Reference: Language support.
Interoperability with other Tanium products
Tanium Data Service
Tanium Data Service (TDS) is a Tanium shared service that enables you to view stored sensor results for endpoints that are offline at the moment you issue a question. For more information about TDS, see Managing sensor results collection through TDS.
Tanium Gateway
You can use Tanium™ Gateway to access data from the TDS API. For information about which features are available through Gateway, see Schema reference.
Tanium Reporting
Interact provides access to the Endpoint Details page in Tanium Reporting, where you can view comprehensive information about a single endpoint and manage the endpoint. To access the page, see Search endpoints. For more information about endpoint details, see Working with a single endpoint.