Analyzing question results in Console and Interact

Question results overview

After you issue a question, the Interact Question Results page opens and shows a grid with the answers (sensor results) from endpoints. For more information about how the Question Results page shows sensor results across multiple columns, see What is a sensor?. The page provides the following options for analyzing the results and addressing any issues that they reveal:

Several of the preceding options become available only after you select one or more rows of results. For more information, see Selecting rows.

Figure 1. Question Results page
Question Results page
Tip: To refine the original question, update your entry in the Ask a Question field (see Issue a free-form question) or click Question Builder Copy to Question Builder to open the Question Builder (see Issue a question through the Question Builder).
Note:

The user roles and permissions that are required to ask questions also enable you to view the results. For more information, see Tanium Interact and TDS permissions.

You can view question results only from computer groups that are assigned to your user account or persona. For more information, see Assign computer groups.

If endpoints do not answer questions, see Troubleshoot question results issues.

Results aggregation

If more than one endpoint returned the same answer for a question, the results grid shows a Count column to indicate the number of endpoints for each answer. For more information, see Counting and non-counting questions.

Results for saved questions and dashboards

When you issue a saved question or a dashboard of questions, Interact opens the saved question results page or dashboard results page respectively. These pages resemble the Question Results page for dynamic questions but have additional options. For more information, see Issue a saved question and Issue a dashboard of saved questions.

Note: Use Tanium Reporting instead of Interact saved questions or dashboards if you want to review results from sensors that are registered with Tanium Data Service (TDS). For more information, see Analyzing question results in Console and Interact.

Selecting rows

After you manipulate the Question Results grid to show the results that you want, you can select result rows to perform additional operations, such as deploying actions. You can select up to 100 rows in the grid. The following options facilitate selecting multiple rows:

  • To quickly select multiple consecutive result rows for drilling down, copying, exporting, or deploying actions, click the checkbox in the first row to include, hold down the Shift key, and then click the checkbox in the last row to include.

  • Select the check box in the header row to select 100 rows, starting with the first row in the grid. If you already selected rows before selecting the check box, Interact only selects enough additional rows to reach the 100 limit. Clear the check box to clear any selected rows.

    Figure 2. Check boxes for selecting question results
    Check boxes for selecting question results

Enable or disable live updates

On the Question Results page, the results grid has a toolbar that shows the percentage of Tanium Clients that reported results. The live updates feature is enabled by default, which means Interact updates the grid as more Tanium Clients report results.

results_grid_live_updates_on

Click Pause Pause to stop the grid from updating and click Play Play to resume updating.

Tip: Even after 100% of Tanium Clients have reported, some answer rows might indicate incomplete results. To investigate incomplete results, see Troubleshoot question results issues.

Display results for online and offline endpoints

When the Question Results page opens, it initially displays only current results, which are answers from endpoints that were online at the moment you issued the question. However, you can also display recent or cached results that the Tanium Server stored when it queried endpoints that were previously online but are currently offline.

Figure 3. Current, recent, and cached results for questions
Current, recent, and cached results for questions

The option to display stored results enables you to have a more complete view of your managed endpoints. For example, to evaluate the security state of both online and offline endpoints, you can display both current and stored results for questions about which endpoints have a critical patch applied or a particular third-party application installed. Click the button for the type of results that you want to display:

Table 1. Current, recent, and cached results for questions

Results options

Description

Current

The grid shows results from endpoints managed using Tanium Client that are currently online.

Recent

This option is available only for the results of saved questions and only users who have permissions to create saved questions can view recent results. For more information, see Managing saved questions in Console and Interact. In addition to results from online endpoints managed using Tanium Client, this option includes results from offline endpoints managed using Tanium Client if those results still reside on the Tanium Server after the last time the Server issued that question. The Server stores the results of saved questions for seven days by default.

The Tanium Server associates recent results with specific saved questions, not with sensors. This means that even if multiple saved questions share the same sensor, the results grid might show different recent results for that sensor based on which question you issue and your computer management group permissions. For more information, see Recent results and computer group assignments

Cached

The grid displays results that the Tanium Server collects by periodically querying all managed endpoints for specific sensors. The option appears only for questions in which all the sensors are registered for collection with Tanium Data Service (TDS). For more information, see Managing sensor results collection through TDS.

The Server stores the results for 30 days by default. The grid displays only the most recent collected results.

The Server saves the results on a per-sensor basis. Consequently, the grid shows the same results for a particular sensor when you issue any dynamic or saved question that uses that sensor.

Note: For offline endpoints, view Cached results instead of Recent results. For cached results, the Tanium Server more accurately identifies the responding endpoints, allows all users to view the results, and returns results for both dynamic and saved questions.

Filter question results

Use the following filter options in the header of the Question Results grid to show only results that match the criteria you specify:

Interact applies a Boolean AND if you configure multiple types of filters. For example, if you select a computer group filter and configure an advanced filter, Interact shows only the results that match both filters.

Note: If you save a question, the question text does not include any filters that you added on the Question Results page.
Tip: To apply filters to a question instead of its results, see Use question filters.
Figure 4. Question Results grid filters
Question Results grid filters

Filter by text

On the Question Results page, use the Filter by text field to filter results based on their values. The Tanium Server filters the grid without reissuing the question.

  1. Select Contains or Does not contain in the dropdown list beside the Filter by text field.
  2. Enter a search string in the Filter by text field and click Search Search.
Tip: For most questions, the text filter shows matching results in any grid column. If you filter on certain cached results, the text filter ignores the Count column values.

Filter by computer group

On the Question Results page, select a Filter by Computer Group option to issue a new question with the added filter. If the dropdown list shows many computer groups, you can enter part or all of a group name in the text field to filter by that name.

Note: The Filter by Computer Group dropdown list shows only computer management groups that are assigned to your user account. The list also shows filter groups that are assigned to a content set for which your account has role permissions. For more information, see Controlling endpoint management rights through computer groups.

Filter by advanced conditions

Overview of advanced filters

On the Question Results page, you can configure a filter that is based on conditions for matching sensor results. Interact evaluates the filter to a Boolean true or false and shows only the results that evaluate to true. For example, if you issue a question with the Installed Applications sensor and configure the filter application name contains Microsoft Visual C++, the Question Results grid shows only results in which an application name contains the string Microsoft Visual C++.

If you configure multiple filters, Interact shows results only if their true/false evaluations collectively match your Boolean AND/OR selection:

  • AND: The grid shows only results for which all the filters evaluate to true.

  • OR: The grid shows results for which any filter evaluates to true.

The AND/OR selection cannot differ among filters that are at the same level (not nested). If you configure multiple levels of filters through nested groups, you select a Boolean AND/OR for each level. Interact evaluates filters in ascending order, from the row filters in the lowest-level group to the highest level of row and group filters. The following figure shows two levels of filters: the first (highest) level has a row filter and group filter, and the second (lowest) level comprises the row filters within the group.

Figure 5. Row and group filters for question results
Results filters

Interact evaluates these example filters in the following sequence:

  1. Interact evaluates each row filter within the group: application version contains 12.0 and application version contains 10.0.4.

  2. Interact evaluates the group filter to a collective true if either filter inside the group evaluates to true because the Boolean OR is selected for those filters. Interact also evaluates the first-level row filter: application name contains Microsoft Visual C++.

  3. Interact applies a Boolean AND to the first-level filters, which means they collectively evaluate to true only if both the row filter and the group filter evaluate to true.

Configure advanced filters

  1. In the header of the Question Results grid, expand Expand the Filters section.
  2. Select an attribute (sensor column), select an operator (such as contains), enter a value to match against (Microsoft Visual C++ in the figure Question Results filters), and click Apply Apply. Interact evaluates the filter and refreshes the results grid as soon as you apply the filter.

    Results filters support the same operators as filters in the get statement of a question. Results filters do not support the in operator. For more information, see Filter operators.

    Perform the following steps only if you want additional filters. Repeat the steps for each filter.

  3. Click Add Add and select an option:
    • Add Row: Specify the attribute, operator, and value as you did for the first filter.
    • Add Group: Specify the attribute, operator, and value for the first filter in the group. Then, for the next filter in the group, click Add Add and select a row or another group.
  4. For each level of filters, select a Boolean AND or OR.

Copy question results to the clipboard

On the Question Results page, copy information from the results grid to your clipboard to paste the information into a message, text file, or spreadsheet. Each row in the grid is a comma-separated value string in the copy.

  • To copy specific results along with the sensor names (column headers), select the corresponding checkboxes and click Copy.

  • To copy the contents of a grid cell, perform one of the following steps:

    • Hover over the cell, click Options options-blue, and click Copy Cell Value Copy.

    • Press the Alt key (Windows) or Option key (macOS) and click in the grid cell. This operation works for most grids in Interact.

Export question results

You can use any application that supports CSV format to display the same columns of information as the grid on the Question Results page. For example, you can use Microsoft Excel to create charts based on results.

  1. Select one of the following export options:
    • To export specific results, select the corresponding checkboxes and click Export.
    • To export the complete results, click Export Export in the header of the grid.
  2. Enter a File Name for the CSV file.
  3. To include sensor names (grid column headers) in the .csv file, select Include headers in export.

    If you selected only a subset of the results to export, click Export and skip the remaining steps, which describe options that are available only if you are exporting the complete results.

  4. Select how the CSV file displays results for questions where one sensor generates multiple results for each responding endpoint.

    As an example, for the question Get Computer Name and High CPU Processes[5] from all machines, the High CPU Processes sensor returns five processes for each endpoint. By default, the file displays one row for all the results that the sensor generated for an endpoint. For the example question, this would mean each row lists all the top five processes for each endpoint (identified by Computer Name).

    export_results_stacked

    To display a row for each result that a sensor generates, select Flatten rows. For the example question, a flattened export results in five rows per endpoint: one row for each process that the High CPU Processes sensor returned. Note that this option works only if just one sensor in the question has multiple results.

    export_results_flattened

    If you select Flatten rows, the Fail on errors checkbox appears. Selecting Fail on errors causes the export to fail for all results if any result includes multiple columns (sensors) with more than one value. In the example, it would be an error if a single endpoint returned multiple results for both Computer Name and High CPU Processes. By default, Fail on errors is disabled, which means the export proceeds despite such errors. However, the output includes errors without flattening the affected results; the output does not use separate lines to account for multiple columns with multiple values.

  5. Click Export.

Merge questions

Question results often lead to additional questions. For example, the results of a question that returns computer names and running processes might indicate that some endpoints are running a suspicious process. You can merge the initial question with another question to learn more information, such as the last logged-in user. The Tanium Server issues the merge question in the background, and Interact re-displays the Question Results grid with one or more additional columns containing results for the sensors that the merge question specified.

Note: Merge operations automatically apply to all results. You do not need to select grid rows before merging.

You can use only non-counting questions in merge operations. For more information, see Counting and non-counting questions.

  1. On the Question Results page, click MergeMerge in the grid toolbar.
  2. Use one of the following tabs to add questions and then click Merge:
    • Saved Questions: Lists saved questions that are assigned to content sets for which you have Saved Question read permission. The questions must also have the Display this question in the list of questions that are available to merge setting enabled.

      Tip: To filter the list so that it includes only saved questions with Visibility is set to Only the Owner and Admins can see this object, select Hide public questions.
      results_grid_merge_SQ
    • Create a Question: Enter a question using the same syntax as in the Interact Ask a Question field. For more information about the syntax, see Issue a free-form question.

      results_grid_merge_create_question
    • Build a Question: Construct a question using the same fields as in the Interact Filter Builder Question Builder. For more information, see Issue a question through the Question Builder.

      Notice that you add sensors to the get clause but you do not add filters to the from clause. The from clause is automatically based on the rows that you selected in the Question Results grid when you clicked Merge.

      results_grid_merge_build_question

After you click Merge, the Question Results grid displays the updated results. You can use the MergeEdit button in the grid header to modify the merge settings.

Figure 6. Question results after a merge operation
Question results after a merge operation

Drill down into results

In the Question Results grid, you can drill down into selected results to retrieve more information from the associated endpoints. Adding a drill-down question effectively means using its sensors to filter the selected results. A typical scenario is targeting a smaller group of endpoints for an action. For example, you might initially issue a question that returns a list of chassis types and operating systems for all endpoints. To see the identities of endpoints that return specific results, you can drill down into those results with the Computer Name sensor.

  1. In the Question Results grid, select the results for which you want more information and then click Drill Down.
  2. Use one of the following tabs to specify a drill-down question and then click Drill Down.
    Tip: If the selected Question Results include the value of a parameterized sensor and your drill-down question uses a sensor with a matching parameter, the Select Drill-down Question dialog automatically populates that parameter with the value from the selected results.
    • Saved Questions: Lists saved questions that are assigned to content sets for which you have Saved Question read permission. By default, the list includes only questions that have the Display this question in the list of questions that are available for drilling down setting enabled. To include questions that do not have the setting enabled, select Show all questions.

      Tip: To filter the list so that it includes only saved questions with Visibility is set to Only the Owner and Admins can see this object, select Hide public questions.
      results_grid_drill-down_SQ
    • Create a Question: Enter a question using the same syntax as in the Interact Ask a Question field. For more information about the syntax, see Issue a free-form question).

      results_grid_drill-down_create_question
    • Build a Question: Construct a question using the same fields as in the Interact Filter Builder Question Builder. For more information, see Issue a question through the Question Builder.

      results_grid_drill-down_build_question

After you click Drill Down, Interact shows the progression of results, including a new Question Results grid for the drill-down question. You can then drill down further, deploy an action, save the question, or click Question Builder Copy to Question Builder for further refinement.

Figure 7. Question results after drill-down operation
Question results after drill-down operation

View details for a single endpoint

When you analyze question results from endpoints, you might want to explore additional information about a particular endpoint. For example, if an endpoint returns 100% for a question with the CPU Consumption sensor, you might want to see details about the processors on that endpoint. Interact provides a single endpoint view feature that quickly retrieves and displays the information, even for endpoints that 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.

Note:

For more information about about TDS, see Managing sensor results collection through TDS.

The permissions that are required to view endpoint details are available to the Administrator reserved role, Interact Power User role, and Interact Basic User role.

From the Interact Question Results page, you can access two levels of information about an endpoint:

  • 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 Online or offline 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.

Tip: You can access basic or detailed information about an endpoint without first issuing a question by using the Endpoint Search Endpoints field in the Tanium Console header or Tanium Home page. For more information, see Search endpoints.
  1. Issue a question that includes the Computer Name, Computer ID, or Tanium Client IP Address sensor. For more information about issuing questions, see Issue a free-form question or Issue a question through the Question Builder.
  2. In the Question Results grid, click an endpoint icon Endpoint to see the details for that endpoint.

    An Endpoint Details dialog opens to display the basic information. If multiple endpoints have the same Computer Name, Tanium Client IP Address, or Last Logged in User, click Previous Back or Next Next in the Multiple Results Found banner to find the details for a specific endpoint.

    Endpoint Details
  3. Click View Details to open the Endpoint Details page.