Bulk Importing Existing Usage Data

To import existing usage data, use the bulkimport sub-command of the flexnet_man_dir/flexnet utility. This command imports report logs that you may have accumulated prior to installing FlexNet Manager for Engineering Applications, and catalogs the report logs for access by this version of FlexNet Manager for Engineering Applications.

The user of this command must be a valid FlexNet Manager for Engineering Applications user (not an LDAP user). The user must be assigned a role with the Bulk Import Report Logs permission.
The bulkimport command must be run from the FlexNet Manager for Engineering Applications Admin installation directory.

Usage

flexnet bulkimport -uusername -ppassword -ffolder [-ccustomerid] [-sserver] [-r]

The parameters in [brackets] are optional.

Note:If the value for the -uusername, -ppassword, or -ffolder parameter contains a comma, semicolon, or ampersand (&), enclose the value in double quotes (“”).

bulkimport Parameters

Parameter

Description

Required

–u

user

Specifies the FlexNet Manager for Engineering Applications user to run this command. The user must be assigned a role with the Bulk Import Report Logs permission.

Enclose the value in double quotes (“”) if it contains a comma, semicolon, or ampersand (&).

–p

password

Specifies the password for user. For user admin, the default password is admin.

Enclose the value in double quotes (“”) if it contains a comma, semicolon, or ampersand (&).

–f

folder

A directory containing report logs, with .rl extensions. Specify an individual report log by providing the report log file name.

Enclose the value in double quotes (“”) if it contains a comma, semicolon, or ampersand (&); and/or if the folder path contains spaces.

 

–c

customerid

Specifies the organization ID of the organization from which the reports in the import folder, denoted with the -f argument, were sent. The default value is MYORG.

 

–sserver

Specifies the URL for the FlexNet Manager for Engineering Applications Admin server, which must be an https connection.

For example:

https://localhost:8445/flexnet

This is an optional argument. If no argument is specified, then the server is assumed to be:

https://127.0.0.1:<admin server port number>/flexnet

 

–ryes
–rno

Specifies whether the folder should be processed recursively, which means that report logs contained in any subdirectories of folder will be imported.

If any of the values true, yes, or 1 is appended to -r or if no argument is specified, folder is processed recursively.

If any of the values false, no, or 0 is appended to -r, folder is not processed recursively.

 

Example

To import all of the usage data in report logs in a particular directory, type:

flexnet bulkimport -uadmin -padmin -f“directory with report logs”