Exporting data

You can configure Asset to export data to external destinations, such as Tanium Connect, Flexera, and ServiceNow.

CSV file

You can copy data from an Asset report table to the clipboard and paste the data in an application that can interpret a CSV file, such as a database. Select the rows that you want to copy and click Copy. You can then paste the information about the rows you selected.

To save the entire report as displayed in a CSV file, click Export download. You might see an Export requested status message before you see a Download link for the CSV file. Each Asset user can export a single report at a time. Multiple Asset users can be signed in, each exporting a single report at the same time.

For scheduling, formatting, and large data sets, consider setting up a Connect destination that uses a view.

Tanium Connect

To export data from Asset to Connect destinations such as email, file, HTTP, Socket Receiver, Splunk, and SQL Server, create a connection.

Important: SQL Server on Microsoft Azure, Amazon Relational Database Service, and other database-as-a-service providers are not supported as SQL Server destinations.

Requirements

  • Access to Connect with the Connect User role.

  • An Asset report or view from which you want to export data. For more information, see Building reports and Configuring views.

CAUTION:

Exporting reports with large data sets (more than 100,000 results) can have a significant performance impact.

If you need to export a large data set, select Asset Computers as the Type for the source and use a view. For more information about views, see Configuring views.

Create a connection

Choose Tanium Asset as the connection source. You can choose from the following types of Asset source:

Asset Reports

Select a predefined or custom report as the connection source.

Asset Computers

  1. Select any view as a connection source and export structured data using an Asset view.
    Example Connect configuration to export Tanium Asset data
  2. If you do not enable Flatten Results, the entire data set that is retrieved for one computer is a single record. For example, if you are exporting Installed Applications, a computer has a single row with the entire list of installed applications in that same record. Any change that is made to this data set shows up in the destination. By enabling the Flatten Results setting, each installed application for a computer is processed as a single record.

  3. With Enhanced JSON, the results contain an array of objects for each reference table, instead of an array of strings, numbers, or dates for each reference attribute. The correlation between attributes and destinations can be easier to implement.

  4. Use the default batch size (200). Higher batch sizes can be slower due to increased processing for each batch.

  5. Configure the export format.

    • If you enable Enhanced JSON, you must also choose JSON as the format for your connection.

    • To customize the column names, expand the Columns section and click Add or Modify Columns. Change the display values in the Destination column as needed.

    • If you customize the columns, leave the Value Type as Unmodified to get the expected object output.

Compatibility

Use the following recommendations for Enhanced JSON and Flatten Results settings for each format in Connect. If you use an unsupported combination, connection failures might occur, or incorrect data might get written to the destination.

Table 1. Connect destination format compatibility

Format

Enhanced JSON Support

Recommendation

CEF

solid-circle-x-red

Use Flatten Results

CSV

solid-circle-x-red

Use Flatten Results

Delimiter separated

solid-circle-x-red

Use Flatten Results

Elasticsearch

check-solid

Use Enhanced JSON without Flatten Results

HTML

check-solid

Use Flatten Results without Enhanced JSON

JSON

check-solid

Use Enhanced JSON without Flatten Results

LEEF

solid-circle-x-red

(Optional) Use Flatten Results

SQL Server

solid-circle-x-red

(Required) Use Flatten Results

Syslog

solid-circle-x-red

(Optional) Use Flatten Results

Filtering No Results and Errors

Asset automatically filters no results and common error messages and does not send that data to the connection destination.

Examples

Compare the data that is returned from Asset installed applications.

Example: Enhanced JSON

JSON
{
	"Computer Name": "WIN-2012-R2",
	"Asset Installed Applications": [{
		"name": "Tanium Server 7.2.314.3019",
		"version": "7.2.314.3019",
		"vendor": "Tanium Inc."
	}, {
		"name": "Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.23026",
		"version": "14.0.23026.0",
		"vendor": "Microsoft Corporation"
	}, {
		"name": "Microsoft SQL Server 2012 Native Client",
		"version": "11.3.6540.0",
		"vendor": "Microsoft Corporation"
		}]
}

Example: Flattened JSON

JSON
[{
	"computer name": "WIN-2012-R2",
	"name": "Tanium Server 7.2.314.3019",
	"vendor": "Tanium Inc.",
	"version": "7.2.314.3019"
}, {
	"computer name": "WIN-2012-R2",
	"name": "Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.23026",
	"vendor": "Microsoft Corporation",
	"version": "14.0.23026.0"
}, {
	"computer name": "WIN-2012-R2",
	"name": "Microsoft SQL Server 2012 Native Client",
	"vendor": "Microsoft Corporation",
	"version": "11.3.6540.0"
}]

For more information about how to create connections, see Tanium Connect User Guide.

Flexera

You can configure Flexera One or Flexera FlexNet Manager Suite 2019 R2.2 or later to pull data from Asset.

Flexera One

If you use Flexera One with the IT Visibility or IT Asset Management applications, you can use Tanium as a data source.

Before you begin

Create a Tanium REST API authentication token to use to authenticate from Flexera One. For more information, see API access.

For more information about token-based authentication with Flexera One, see Flexera One documentation: Tanium Adapter Enhanced To Support Token Based Authentication and Flexera One documentation: Tanium Adapter.

Flexera One IT Asset Management

For more information about Tanium with Flexera One IT Asset Management (formerly known as FlexNet Manager Suite Cloud), see Flexera One documentation: Managing Tanium Connections.

Note:
  • To create the Flexera views, from the Main menu, go to Modules > Asset > Views, click Create Views, and then select Create Flexera Views.

  • Steps 1a and 1b in the "Configuring Integration with Tanium" section of Flexera One documentation: Managing Tanium Connections are no longer applicable because staging databases are not used by Flexera One. The API is used for data exports.

Flexera FlexNet Manager Suite: 2019 R2.2 or later

If you have FlexNet Manager Suite 2019 R2.2 or later, you can use the Tanium Connector in FlexNet Manager Suite (FNMS) and the existing Tanium Client on your endpoints to export inventory data from Tanium into FNMS. Asset includes content with sensors that are specific to Flexera, including MS Exchange server, SQL server, Last Logged In, CPU Details > Total Physical Processors, OS Version, Short Domain, and so on.

FlexNet Manager Suite requirements

  • FlexNet Manager Suite 2019 R2.2 or later

  • FlexNet Beacon 14.2 or later

Tanium requirements

Important: You do not need to configure a Flexera destination in Asset. If you already have a Flexera destination configured in Asset that you set up for a previous version of Flexera, disable the destination after you complete the integration instructions.

Before you begin

Create a Tanium REST API authentication token to use to authenticate from Flexera FlexNet Manager Suite. For more information, see API access.

Integration instructions

For more information about integration prerequisites and instructions, see Flexera documentation: Managing Tanium Connections.

Note:
  • The provided link is to the FlexNet Manager Suite 2022 R2 (On-Premises) documentation. For other versions, go to https://docs.flexera.com, select FlexNet Manager Suite and the version that you are using, and click the HTML link for FlexNet Manager Suite - Online Help. Search for Tanium and open the "Managing Tanium Connections" topic.

  • To create the Flexera views, from the Main menu, go to Modules > Asset > Views, click Create Views, and then select Create Flexera Views. Do not edit or delete these views.

  • Steps 1a and 1b in Flexera documentation: Managing Tanium Connections are no longer applicable because staging databases are not used by Flexera FlexNet Manager Suite 2019 R2.2 and later. The API is used for data exports.

ServiceNow

You can configure Tanium as a discovery source in ServiceNow, and then create a destination in Asset to export data to ServiceNow with a defined schedule.

Requirements

  • ServiceNow Australia or later release. ServiceNow Software Asset Management Pro is also supported.

  • Access to both a test and production instance of your ServiceNow Enterprise CMDB.

  • A service account for ServiceNow that has elevated privileges. After the initial integration is complete, you can Configure least privileged access for ServiceNow integration.

Important: Test the data export against a copy of your ServiceNow instance before you configure Tanium Asset to export all data to your production instance of ServiceNow. Because the built in identification rules in ServiceNow assume unique computer names or serial numbers, you might need to add one or more identification rules to achieve consistent and expected results.

Prepare ServiceNow to receive Tanium data

  1. In ServiceNow, go to All > System Definition > Choice Lists.
    Tip: Enter Choice Lists in the menu filter to quickly navigate to that menu item.
    Choice Lists option in ServiceNow
  2. Click New.
    Example ServiceNow page that shows where to find the New button
  3. For Table, select Configuration Item [cmdb_ci].
    Example Choice List configuration that highlights the Table field
  4. In the Element field, enter discovery_source.
    Example Choice List configuration that highlights the Element field
  5. In the Label field, enter Tanium.
  6. In the Value field, enter Tanium.
    Example Choice List configuration that highlights the Value field
  7. Click Submit.

Confirm that you successfully created the item:

  1. Go to All > System Definition > Choice Lists.

  2. Click Show/Hide filter .

  3. For the -- choose field -- menu, select Table.

  4. Leave the default operator, starts with, and in the Input value field, enter cmdb_ci.

  5. Click AND.

  6. For the -- choose field -- menu, select Element.

  7. Leave the default operator, starts with, and in the Input value field, enter discovery_source.

  8. Click AND.

  9. For the -- choose field -- menu, select Label.

  10. Leave the default operator, starts with, and in the Input value field, enter Tanium.

  11. Click Run.

You should see the Tanium choice that you added. If you do not see it, go back and check to confirm that you completed each step.

Figure 1. Example Tanium label in ServiceNow
Example Tanium label in ServiceNow
Note: If you are using ServiceNow Paris 10 or Quebec or later with the Tanium Asset integration, ServiceNow creates duplicate entries for some CIs (such as Network Adapters, Storage Devices, and File Systems) in the ServiceNow CMDB when an export runs. For more information about how to resolve this issue, see Fix duplicate entries in ServiceNow with Tanium Asset integration.

Add tables and Update Identification Rules

You can optionally work with Tanium Support and your ServiceNow administrator to add tables or update identification rules in ServiceNow. For more information about how to contact Tanium Support, see Contact Tanium Support.

Configure ServiceNow export settings

By default, Asset supports up to two concurrent exports to ServiceNow destinations. If an export is scheduled to run and there are already two exports running, Asset queues the export to run when another export completes. By default, exports can remain in the queue for 24 hours.

You can configure the number of concurrent exports to ServiceNow destinations and how long an export can remain in the queue.

Note: To edit Asset settings, you require a role with the Asset Configure Item write permission.
  1. From the Asset Overview page, click Settings cog.
  2. On the Advanced tab, go to the Asset Destination Job Queue section.
  3. Edit the Concurrent Destinations and Max Time in Queue values as needed.
  4. When finished, click Save.
The export settings only apply to "push" exports that are initiated in Asset. This includes scheduled ServiceNow exports and ServiceNow exports that a user manually runs outside of a schedule.

Add ServiceNow as a destination

To enable data to be exported to the ServiceNow CMDB from Asset, enter your ServiceNow Host URL and credentials.

  1. From the Main menu, go to Modules > Asset > Inventory Management > Destinations.
  2. Click Create ServiceNow Destination.
  3. Edit the settings, including the ServiceNow Host URL and credentials, log level, view, and the schedule at which you want the export to occur.
    Example ServiceNow destination configuration with fields populated

    The log level affects the logging in the job/date_time_job#_servicenow_config#.log files. If you enable Trace level logging on your ServiceNow configuration, numbered subdirectories, for example job/65, are created that contain all POST and GET requests for that job. For more information about cron, see Reference: Cron syntax.

  4. Click Create.

Exclude computers from exported ServiceNow data

(Optional) When you create a ServiceNow destination, a reserved view is created. The ServiceNow (reserved) view includes all computers. Create a view with filters enabled if you want to narrow the scope of the export.

  1. From the Main menu, go to Modules > Asset > Views. Hover over the ServiceNow (reserved) view and click Create Copy CopyIcon_legacy-ActivePrimary-32.
  2. Edit and rename the copy of the reserved view. Add a filter to limit the computers that are exported. In this new view, do not select Should be filtered out of the view on any of the filters.
  3. From the Main menu, go to Modules > Asset > Inventory Management > Destinations and click the ServiceNow_Destination. Click Edit edit2.
  4. In the View section, select the new view that you created.
  5. Click Update to save the changes.

Edit ServiceNow export mappings

(Optional) After you create the ServiceNow destination, you can edit the Asset to ServiceNow mappings.

  1. To add an attribute, find the details for the attribute.
    1. From the Main menu, go to Modules > Asset > Inventory Management > Entities & Attributes.
    2. Click Customize Columns and select Table Name and Field Name.
    3. Use the Filter Items search to find the attribute.
  2. Edit the ServiceNow mappings in the destination.
    1. From the Main menu, click Inventory Management > Destinations > ServiceNow.
    2. Click Edit edit2 in the row of the destination for which you want to update mappings.
    3. In the ServiceNow Export Mapping section, add the new mapping. You can also edit individual mappings.
    4. (Optional) To test the mappings, click Validate All Tanium Mappings. Once clicked, Asset continuously monitors the mappings for issues, and the button appears as Revalidate All Tanium Mappings.
      Note: Asset only validates Tanium field values within ServiceNow mapping definitions.

      For more information about the mappings, see Reference: ServiceNow mappings. To properly edit the ServiceNow export mappings, Contact Tanium Support.

Run export

You can run an export to ServiceNow CMDB outside of the configured schedule. From the Main menu, go to Modules > Asset > Inventory Management > Schedules, and then go to the Export Schedules tab. Under the ServiceNow destination in the Asset Export Destinations section, click Run Now caret-right.

Check data in ServiceNow

After the Status in the schedule says complete, you can check for the data in ServiceNow CMDB.

  1. Sign in to your ServiceNow Enterprise CMDB.
  2. Search for an Asset attribute, such as Computer.
    Example ServiceNow search with results for attributes
  3. Check the data that got imported into the table.

Configure least privilege access in ServiceNow

After the initial integration with ServiceNow is complete, you can create a role for the Tanium Service Account. This role has an ACL that provides only the necessary permissions.

For more information, see Configuring least privileged access for ServiceNow integration.

ServiceNow: Service Graph Connector

For comprehensive documentation about the Service Graph Connector for Tanium integration, including requirements, installation, configuration, and verification steps, see Tanium™ IT Asset Management overview.

For more information about purchasing the Service Graph Connector for Tanium, see Service Graph Connector for Tanium.