The CSV connector gathers data about devices, business units, or users from .CSV files. Use a column header for the first row in the .CSV file, then populate it with the data you want to import. You should upload a sample file when you create the connector to help map the columns in the .CSV file correctly.
A CSV connector has the following options:
- Connector name. A name for the connector.
- Connector server name. The name of the connector server that this connector is associated with. Each connector can only be associated with one connector server. If you added the connector to a specific connector server, this field may be populated for you. Otherwise, you can select the connector server from the list.
- Path to files located on connector server. The directory on the server where the .CSV files are stored. Make sure each new file is saved to the same directory, and the connector imports the data from them. This path must be local to the connector server utility.
- File name filter. Filters the .CSV files in the directory if you only want to gather data from files with a specific naming convention. Use * as a wildcard character. For example: *_data.csv
- Data type. Choose which of the data types you want to import. If you want to import more than one data type, use a different connector for each data type.
- Delimiter. Select the type of delimiter that the file uses to separate values.
- Date format. Select the date format the file uses.
- Time format. Select the time format the file uses.
- Time zone. Select the time zone that is used for the data in the file.
- CSV sample file. Upload a sample file with column headers in the first row and data in at least one row to help you map the columns to the values in the database. You should select the data type before you upload a sample file. The sample file enables you to map the values in the file to the values in the Ivanti Cloud database.
- Repeats. How often the connector should gather data.
- Start time. The time of day the connector should start running. To minimize the impact on your network and applications, we recommend that connectors generally run at night or on weekends.
- Active. Whether the connector is active or not. While the connector is active, it runs according to the schedule you create. If you clear the check box, the connector is inactive and will not gather data until the check box is enabled again and the connector is saved.
After you've uploaded a sample file and completed all the required fields for the connector, use the Column Mapping tab to map the columns to the values in the database. Ivanti Cloud maps suggested matches for you, but you should review the suggestions and make changes if necessary.
The Attributes column displays the column headers in your sample file. The Target Attributes column shows the values in the Ivanti Cloud database. The CSV Sample Data column shows an example of the values in the column from the sample file. Target attributes that have an asterisk are used to match devices and ensure you don't have duplicate records, so they must be mapped in order to save and use the connector. For example, if you choose Device as the Data type, then the required attributes are the IP address, the physical (NIC or MAC) address, and the host name (or fully-qualified domain name).
To map an attribute to a target attribute, find the value in the Target Attributes column, then click the row in the Attributes column. When you click the empty table cell, you can select a column header from the sample file.
To map a target attribute to an attribute, find the value in the Attributes column, then click the row in the Target Attributes column. When you click the empty table cell, you can select the database value from a menu that appears on the right.
If you don't map a field the first time you upload the sample file, the connector ignores the data in that column. If you decide later that you want to map a field, click Add column mapping and select the column header.
For details on configuring or using connectors, see Setting up connectors.
Was this article useful?
Copyright © 2019, Ivanti. All rights reserved.