You can import service data manually from a CSV or XML file. You should import a CSV or XML file in the format defined during the export process. You can create and work with a Service Template File using the export procedure to be sure that your data is formatted correctly.
The import process uses the following commands:
InsightUtil /importservice [/http|/https] /server <hostname> /port <port#> /format csv|xml /path <file_path> /key <key> /secret <secret>
The command begins with the utility name, InsightUtil
Specifies that the import service uses http or https
Indicates the server host name
Indicates the port number
Indicates the import file format: csv or xml
Important! When importing a CSV file, the first line (the header column line) must not be omitted, or the import process will fail. The column order of the CSV file must follow the format of an exported CSV file or template file, and cannot be changed.
Indicates the path and name for the import file
Indicates the unique CA Business Service Insight administrator key
Indicates the unique CA Business Service Insight administrator password
Example: Import service data from a local CSV file
This example shows how to import service data from a local CSV file using https.
InsightUtil /importservice /https /server name001 /port 8443 /format csv /path C:\MyFiles\file.csv /key mykey /secret mypassword
|
Copyright © 2012 CA.
All rights reserved.
|
|