Exploring and accessing endpoints in Console and Interact
Tanium Interact provides the following methods to explore and manage endpoints:
-
Issue questions
Use the free-form question fields or Question Builder to issue questions that retrieve information from endpoints. For example, you can ask a question that determines if any endpoints are missing critical security patches. Based on the question results that the endpoints return, you can then deploy actions, such as installing security patches.
Note:To issue saved questions, see Issue a saved question and Issue a dashboard of saved questions.
For more information about manipulating and analyzing question results, see Analyzing question results in Console and Interact.
For the user roles and permissions required to ask questions, see Interact permissions.
-
Use the Search Endpoints feature to quickly retrieve a lot of information about a single endpoint instead of constructing a long question with many sensors.
-
Use Tanium Jump Gate to access a PowerShell session on a Windows endpoint or a Bash session on a macOS or Linux endpoint.
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 overview.
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 Console and 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 Console and 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 Troubleshoot question results issues.
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 Console and Interact.
Issue a free-form question
Overview of free-form questions
Interact provides text-entry fields where you can quickly construct dynamic questions, such as Get Last Logged In User from all machines. These fields are particularly useful when you want to issue simple questions, or when you understand Tanium question syntax sufficiently to manually enter advanced questions. For example, an advanced question might contain filters in the get clause (such as Get Last Logged In User matches "(root|reboot)") or from clause (such as from all machines with CPU Consumption > 80%).
When you start typing a free-form question in one of the question fields, Interact evaluates your entry through a natural language parser instead of a specialized query language. The parser enables you to enter text in natural English that does not require complete sentences, case sensitivity, or strictly correct spelling. Based on the evaluation of your entry, Interact opens a dropdown list with proposed questions in valid syntax. If the list shows multiple proposed questions, they appear in top-to-bottom order based on how closely they approximate the text that you entered. The parser uses Valid syntax matching or Enhanced search to generate proposed questions. For the steps to issue a question or select other options in the dropdown list of proposed questions, see Issue a question.
Valid syntax matching
If you enter only text that matches, or closely approximates, the valid syntax of a question in an Interact question field, Interact proposes questions with corresponding syntax. For example, Interact proposes similar questions if you enter the exact sensor name operating system or the approximate words operting systm:
Enhanced search
If some of the words that you enter in an Interact question field are too ambiguous to match with valid question syntax, you can select the Use enhanced search for "<text>" option to make Interact re-parse your entry based on a more expansive interpretation of the text and then propose additional questions.
Issue a question
Perform the following steps to issue a free-form question. When Tanium Clients return answers, the Question Results page shows the answers in grid format. For more information, see Analyzing question results in Console and Interact.
|
1. |
Go to the question field in one of the following locations:
|
|
2. |
Perform one of the following steps in the question field:
Tip: When the question field lists proposed questions, icons indicate the average runtime of each question. You can Expand
|
|
3. |
Select one of the following options in the list of proposed questions:
For more information about using the Question Builder, see Issue a question through the Question Builder. |
|
4. |
Enter the parameter values for parameterized sensors and click Ask Question to issue the question. For more information, see Questions with parameterized sensors. |
Issue a question through the Question Builder
The Question Builder provides a guided method for creating a dynamic question. It has form fields to help you complete the get statement and the from clause, including any filters.
-
Open the Question Builder page from any of the following locations:
-
Tanium Home page
: Click
Build Question beside the
Ask a Question field. If you start typing a question in that field, the More ways to explore data option also opens the Question Builder.
-
Interact Overview page: Select and click
Build Question beside the
Ask a Question field.
-
Interact menu: Select .
-
Question Results page: To refine a question that you already issued, click
Copy to Question Builder beside the Ask a Question field
-
-
In the Get the following data section, perform the following sub-steps for each sensor in the get statement of the question:
-
Click Add Row to add the first sensor and click
to add each additional sensor. Then perform one of the following sub-steps to specify each sensor:
-
Start typing the sensor name in the Filter by Name text field. The typeaheads dropdown list below the field shows a list of sensors that match your entry. Select a sensor and click
Apply
.
-
Click Browse All Sensors to open the Browse Sensors dialog and select a sensor. The bottom of the dialog displays the Sensor Description.
Tip: In the typeaheads dropdown list or Browse Sensors dialog, hover over a runtime icon (,
,
,
) to see the average runtime (in milliseconds) for a sensor. For more information, see Assessing question impacts on endpoints through sensor runtime indicators.
-
-
(Optional) To filter the sensor results, click Add filter, select an operator (such as matches), and specify a regular expression to match result strings. For more information, see Use question filters.
You can configure the following filter options:
-
Column matching: If a sensor produces data across multiple Question Results columns, filter matching applies only to the selected column by default. For example, you can filter the Name column or Version column of the Installed Applications sensor. For more information, see Use sensor column filters. To apply matching to all the columns for a sensor, select Row Filter.
-
Substring matching: To match only part of a result string, select the Substring checkbox, enter the Start position (where 0 is the first position), and enter the number of characters (Length). The following example matches results from the Installed Applications sensor where the first two characters match the string ts. For a multi-column sensor, you cannot apply the Substring filter to a specific column, only across all the columns (Row Filter).
-
-
(Optional) Click Advanced Sensor Options below the filter to configure additional settings. For more information, see Use advanced sensor options.
-
Specify parameter values if you added a parameterized sensor. For more information, see Questions with parameterized sensors.
-
-
(Optional) In the from computers with section, perform the following sub-steps to add targeting filters in the from clause of the question. If you omit filters, the question targets all computers.
Note:For more information about targeting filters, see Questions with target filters.
Interact processes nested filters (group filters) and applies Boolean AND/OR logic for question targeting in the same way as for question results. For more information, see Overview of advanced filters.
-
Click Add Row or Add Group.
-
(Group filter only) Select whether to apply a Boolean AND or OR to all the filters in the group.
-
Select an option for the first or only filter:
-
Sensor: Specify a sensor using the same methods and options as in the Get the following data section.
-
Computer Group: The dropdown lists all the computer management groups and filter groups that you have permissions to access. You can type a string in the typeaheads field to filter the list if it is long. Select a computer group and click Apply
.
Perform the remaining sub-steps only if additional targeting filters are required.
-
-
Click
and select one of the following options for each additional filter:
-
Add Row: Configure the filter as you did for the first row. Then select a Boolean AND or OR to apply to this filter and other filters that are at the same level.
-
Add Group: Configure a group of nested filters. Then select a Boolean AND or OR for filters within the group and a separate AND or OR for the relationship between the entire group and other filters at the same level as the group.
-
-
(Optional) Expand
the Advanced Question Options and enable Force Computer Id to convert a counting question into a non-counting question. This option works only if the get statement has a single sensor; a get statement with multiple sensors is automatically a non-counting question. The option forces Tanium Clients to include the Computer ID sensor results in their answers. Note that the Question Results page does not show the Computer ID results when you select this option. For more information, see Counting and non-counting questions.
-
-
Click Ask Question to issue the question.
The Question Results page opens to show the answers from endpoints.
Search endpoints
Use the Interact Search Endpoints field to view comprehensive information about a single endpoint as an alternative to issuing a long, complex question in the
Ask a Question field. Interact quickly retrieves and displays information for the Search Endpoints feature, even if the target endpoints are currently offline. This quick retrieval is possible because most of the sensors that collect the information are registered by default with Tanium Data Service (TDS), which collects the information through recurring questions and stores the results.
The permissions that are required to use the Search Endpoints field are available to the Administrator reserved role, Interact Power User, and Interact Basic User role.
For more information about TDS, see Managing sensor results collection through TDS.
The Search Endpoints field provides two levels of information:
-
Basic information: This includes the results of the following sensors:
-
Computer Name
-
Tanium Client IP Address
-
OS Platform
-
Last Logged in User
-
Online status: online
or offline
-
-
Detailed information: You can open the Endpoint Details page, which shows comprehensive details from dozens of sensors and provides additional options for exploring and managing the endpoint. For more information, see Working with a single endpoint.
-
Perform one of the following steps to access the Search Endpoints field:
-
In the Quick Search bar of the Console header, click
to display the search field.
-
Go to the Tanium Home
page and click the
Search Endpoints tab.
-
-
Display basic information about an endpoint by typing its computer name, Tanium Client IP address, or last logged-in user name without pressing Enter.
Tip: Type a partial string to see basic information about multiple endpoints. For example, if you type 10.20.21, a dropdown list shows information about all the endpoints with an IP address that contains those digits. -
Click the Computer Name to open the Endpoint Details page.
Jump to endpoints
Jump Gate overview
Tanium Jump Gate provides secure, controlled, just-in-time access to critical systems and data in your environment. An access session is called a jump. After you request a jump and the request is approved, you can access a PowerShell session on a controlled Windows endpoint or a Bash session on a controlled macOS or Linux endpoint.
A Jump Gate operator defines the access policies that determine:
-
Which endpoints can be jump targets
-
Which users or user groups can request jumps
-
Whether jump requests require approval and for which users or user groups
-
Which users can approve or reject jump requests
Jump to an endpoint
You can jump to an endpoint without issuing a question (Search Endpoints feature) or from the Question Results page. In both cases, the jump option appears only for endpoints that support jumps.
|
Search Endpoints |
Question Results |
|
|---|---|---|
|
1. |
Perform one of the following steps to access the Search Endpoints field:
|
Issue a dynamic or saved question that includes the Computer Name, Computer ID, or Tanium Client IP Address sensor. |
|
2. |
Specify an endpoint to target for the jump by typing the endpoint computer name, Tanium Client IP address, or last logged-in user name without pressing Enter. |
In the Question Results grid, click the endpoint icon |
|
3. |
In the Access Endpoint column, click Create Jump |
Click |
|
4. |
Select the Access Type, enter a Justification for the request, and click Submit. The Request Details page opens in a new browser tab and shows the approval status. If approval is automatic or not required, proceed immediately to the next step. If another user must approve the request, wait until the approval status changes to
Tip: Tanium™ Guide provides a notification when a user approves a jump request. You can click View request in this notification to open the Request Details page.
|
|
|
5. |
In the Request Details page, click Jump. The window for the jump session appears on the Request Details page.
Tip:
You can enlarge In the Endpoint Details section, click the Name of the target endpoint to open the Endpoint Details page in Tanium Reporting, where you can view comprehensive information about the endpoint and manage the endpoint. For more information, see Working with a single endpoint. |
|
|
6. |
Click Close Jump to end the session when you finish the work that requires access to the endpoint. |
|
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 Max Sensor 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.
Question history
Use the Question History page to manually reissue questions or view a chronology of issued questions, as well as their syntax and other details (such as issuer and expiration time stamp). By default, the Question History page shows questions that were issued in the past 24 hours. You can change the date range to show more entries, or apply filters to limit the entries that appear.
By default, question Expiration date-times are based on the Local Time of the system that you use to access Tanium Console, but you can switch to Coordinated Universal Time (UTC).
Reissue a question
To reissue a question, select the question in the grid and click Load. Console displays the results in the Question Results page.
Export question history
Export information from the Question History grid as a CSV file to view the information in an application that supports that format. If you have the Administrator reserved role, you can also export the information as a JSON file.
-
From the Main menu, go to .
-
Select rows in the grid to export information only for specific questions. If you want to export information for all questions, skip this step.
-
Click Export
.
-
(Optional) Edit the default export File Name.
Note: The file suffix (.csv or .json) changes automatically based on the Format selection. -
Select an Export Data option: export information for all All questions in the grid or just for the Selected questions.
-
Select the file Format: CSV (default) or JSON (Administrator reserved role only).
-
Click Export.
The Tanium Server exports the file to the downloads folder on the system that you used to access Console.
Copy question history details
Copy question history details to your clipboard to paste them into a message, text file, or spreadsheet. Each row in the grid is a comma-separated value string.
-
From the Main menu, go to .
-
Perform one of the following steps:
-
Copy row information: Select one or more rows and click Copy
.
-
Copy cell information: Hover over the cell, click Options
, and click Copy
.
-
Saved questions
After issuing a dynamic question, you can click Save above the question field to save the question syntax as a configuration object with associated settings. You can then reissue the question without reconstructing it in the Ask a Question field or Question Builder. Tanium solutions provide predefined saved questions. You can issue saved questions manually or based on a configurable schedule. You can also issue saved questions through Tanium modules or custom applications that use the Tanium XML API. For more information, see Managing saved questions in Console and Interact.