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 . 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.
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.
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. This source is available with Connect 4.8 and later. For more information about views, see Configuring views.
Create a connection
With Connect 4.3 to 4.7, choose Asset Report as the connection source. You can choose a predefined or custom Asset report as a connection source.
With Connect 4.8 and later, 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
-
Select any view as a connection source and export structured data using an Asset view.
-
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.
-
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.
-
Use the default batch size (200). Higher batch sizes can be slower due to increased processing for each batch.
-
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.
|
Format |
Enhanced JSON Support |
Recommendation |
|---|---|---|
|
CEF |
|
Use Flatten Results |
|
CSV |
|
Use Flatten Results |
|
Delimiter separated |
|
Use Flatten Results |
|
Elasticsearch |
|
Use Enhanced JSON without Flatten Results |
|
HTML |
|
Use Flatten Results without Enhanced JSON |
|
JSON |
|
Use Enhanced JSON without Flatten Results |
|
LEEF |
|
(Optional) Use Flatten Results |
|
SQL Server |
|
(Required) Use Flatten Results |
|
Syslog |
|
(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. View JSON examples
Example: Enhanced 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
[{
"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 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 Visibility
For more information about Tanium with Flexera One IT Visibility, see Flexera One documentation: Getting Started with IT Visibility and Flexera One documentation: Uploading Inventory Data into IT Visibility.
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.
-
To create the Flexera views, from the Main menu, go to , 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, , 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
-
Tanium Server 7.3.0 or later
-
Tanium Asset 1.11 or later
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.
-
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 , 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.
Flexera FlexNet Manager Suite: 2019 R1 or earlier
If you have Flexera FlexNet Manager Suite 2019 R1 or earlier, you can use the Asset Flexera destination to populate endpoint information in FNMS. When you create a Flexera destination, you enable the Flexera-specific content, and a set of custom reports and views are created that include the results of these sensors. To send the results of these reports to Flexera, a set of connections in Tanium Connect are automatically created that connect to the SQL database. Flexera communicates with this SQL database to populate information.
Requirements
-
Access to Connect with Connect User role.
-
Connect 4.3.0 or later. With Connect 4.8.0 and later, you can configure your Flexera connections to use views, which is better for large environments.
-
An SQL server to use for staging the Flexera data. This database can use Windows or mixed mode authentication. For more information, see Microsoft Docs: Authentication in SQL Server.
Configure Flexera staging database
You must have an SQL database configured that implements the required Flexera database schema.
Use the following query to create the required tables and schema for the Flexera staging database: <Module Server>\services\asset-service\content\flexera\CreateTaniumStagingDatabase.sql
For more information about how to configure Microsoft SQL database to stage data for Flexera, Contact Tanium Support.
Add Flexera destination
When you add a Flexera destination, the following actions occur:
-
Additional attributes are added to Asset. These attributes will be pending until the next Tanium import. For more information, see View schedule and run import.
-
Flexera reports are created in Asset. View these reports in the Reports section under Tanium Reports. Do not delete or modify these reports. Modifying these reports disrupts the Flexera export.
-
Flexera views are created.
Do not edit these views because they can be overwritten. If necessary, you can look at the fields that are included in the Flexera views to create a copy of the view that includes different settings.
-
For each report, a connection is created in Connect that sends the report data to the SQL server using the views as a source.
Use Connect for all troubleshooting of the data transfer to the SQL server. Each Flexera connection contains information about the schedule and success or failure of the data transfer.
Configure Flexera to receive data from Tanium Asset
Check the contents of your custom reports in Asset and the data that is being exported to the configured SQL server. After the data you want is being exported, configure FlexNet Manager Suite to get data from the database. Work with your Flexera to configure this integration.
ServiceNow: Tanium Asset integration
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 Jakarta 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.
Prepare ServiceNow to receive Tanium data
Confirm that you successfully created the item:
-
Go to .
-
Click Show/Hide filter
.
-
For the -- choose field -- menu, select Table.
-
Leave the default operator, starts with, and in the Input value field, enter cmdb_ci.
-
Click AND.
-
For the -- choose field -- menu, select Element.
-
Leave the default operator, starts with, and in the Input value field, enter discovery_source.
-
Click AND.
-
For the -- choose field -- menu, select Label.
-
Leave the default operator, starts with, and in the Input value field, enter Tanium.
-
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.
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.
- From the Asset Overview page, click Settings
.
- On the Advanced tab, go to the Asset Destination Job Queue section.
- Edit the Concurrent Destinations and Max Time in Queue values as needed.
- When finished, click Save.
Add ServiceNow as a destination
To enable data to be exported to the ServiceNow CMDB from Asset, enter your ServiceNow Host URL and credentials.
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.
- From the Main menu, go to . Hover over the ServiceNow (reserved) view and click Create Copy
.
- 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.
- From the Main menu, go to and click the ServiceNow_Destination. Click Edit
.
- In the View section, select the new view that you created.
- 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.
- To add an attribute, find the details for the attribute.
- From the Main menu, go to .
- Click Customize Columns and select Table Name and Field Name.
- Use the Filter Items search to find the attribute.
- Edit the ServiceNow mappings in the destination.
Run export
You can run an export to ServiceNow CMDB outside of the configured schedule. From the Main menu, go to , and then go to the Export Schedules tab. Under the ServiceNow destination in the Asset Export Destinations section, click Run Now .
Check data in ServiceNow
After the Status in the schedule says complete, you can check for the data in ServiceNow CMDB.
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 ServiceNow Integrations: Tanium IT Asset Management.
For more information about purchasing the Service Graph Connector for Tanium, see Service Graph Connector for Tanium.