Use this command to configure settings for entries (or fields) collected from Remedy Action Request System.
During data collection, a set of total entries are automatically collected from the change management and incident management applications. From this set, a limited set is indexed and displayed as fields on the Search page. You can customize the settings based on which entries are collected and indexed. This change can be performed at the following levels:
To understand the syntax, examples, and field settings, see:
Note
Before you run the command, note the following points:
configureexternalfields -d <hostname> -p <portNumber> -u <username> -w
<password> -ops <operationName> [-l <locale>] [-v] [-s]
The following table describes the parameters used in the syntax:lis
Parameter | Description | |
---|---|---|
-d | Host name of the Console Server | |
-p | Port number of the Console Server. | |
-u | User name to use to connect with the Console Server. | |
-w | Password corresponding to the user name to use to connect with the Console Server. | |
-ops
| Name of the operation that you want to perform. Based on the operation type, the value can be: | |
Operation | Value | |
List field settings (global and customized) and list data collectors for which field settings were customized. | ||
To list the global field settings, run the list operation with the application type (type parameter). | Specify the value, In the preceding syntax, Examples:
| |
To list data collectors for which field settings were customized, run the list operation only. | Specify the value, | |
To list the customized field settings, run the | Specify the value, In the preceding syntax, Example: | |
Update field settings by adding or removing values for the specified field setting and in context of the specified application type for an individual data collector or globally (for all the data collectors). | ||
To update field settings globally (for all data collectors), run the Note: When you update field settings globally, it means the change will be applied across all the data collectors, but only to those field settings that are not already customized. Example: Suppose you have three data collectors Collector1, Collector2, and Collector3. Suppose, you updated the value for the To update field settings for an individual data collector, run the Additionally, provide the following inputs:
If you provide a text file as input: Note that the text file must include the name of the field setting for which you want to change values and the value must be a comma-separated list of entries (or fields). For more information about which settings can be customized, see Field settings available for modification. The field setting and value must be separated by a semi-colon (;), see sample file. The value that you provide in the file as input, overrides the current value of that setting (to apply both addition and deletions). If you exclude a field setting from the file provided as input, then that setting is not updated. | Specify the value in one of the following ways:
In the preceding syntax, the following definitions apply:
Examples:
| |
Clear any customizations (or changes) made to field settings and restore the global settings for an individual data collector or globally (for all the data collectors). | ||
To clear customizations for the specified data collector, run the | Specify the value, In the preceding syntax, Example: | |
To clear customizations globally (for all data collectors), run the reset operation only. | Specify the value, In the preceding syntax, Examples:
| |
-l | (Optional) Indicates the locale in which you want to display messages when the command is run. You can set one of the following locales:
By default, the messages are displayed in the locale of the system on which the CLI is run. The value can be set to one of the following depending on the locale you choose:
Example: If you want to set the locale as Simplified Chinese, you need to specify, | |
-v | (Optional) Version of the IT Data Analytics product. | |
-s | (Optional) Indicates an HTTPS connection. |
Settings in the following table can be customized by running this command.
Setting name | Description |
---|---|
form | Indicates the change management (or the incident management) application from which you want to collect entries (or fields). |
fields | Indicates a comma-separated list of total entries collected from the change management (or the incident management) form specified. For more information, see List of entries (or fields) collected by default. The entry names specified in the value must be derived from the REST API response used for getting details of multiple entries. For more information, see REST API for getting details of multiple entries. |
index | Indicates a comma-separated list of change management-related entries (or incident management-related entries) to be indexed and extracted as fields. |
worknotesform | Indicates the change management (or incident management) application from which you want to collect work notes information. |
worknotes | Indicates a comma-separated list of entries (or fields) from the work notes section that must be collected and indexed from the change management (or the incident management) form specified. The entry names specified in the value must be derived from the REST API response used for getting details of multiple entries. For more information, see REST API for getting details of multiple entries. Note: Entries from the work notes section can only be indexed and displayed as part of the raw data (and not extracted fields). |
| Indicates the configuration item (CI) form name associated with the change management (or incident management) application from which you are collecting data. |
| Indicates a comma-separated list of entries (or fields) from the CI form that indicate the host names. The entry names specified in the value must be derived from the REST API response used for getting details of multiple entries. For more information, see REST API for getting details of multiple entries. Notes:
|
The following example provides the input for customizing the field setting for indexing and extracting the incident management-related fields for data collector, DataCollectorA.
configureexternalfields -d localhost -p 9797 -u admin -w admin12345
-ops
update
-collector DataCollectorA -type incident -key index -value "
Incident
Number,Entry ID,Description,Submitter,Submit Date,Last Modified
Date,Impact,Urgency,Priority,Assignee,Assigned Group
"
The following example provides the input for listing data collectors for which field settings were customized.
configureexternalfields -d localhost -p 9797 -u admin -w admin12345
t-ops
lis
The following example provides the input for listing the customized field settings for data collector, DCB
.
configureexternalfields -d localhost -p 9797 -u admin -w admin12345
-ops list
-collector DCB
The following example provides the input for clearing the customizations made to all the field settings and restoring the global settings for all the data collected.
configureexternalfields -d localhost -p 9797 -u admin -w admin12345
-ops reset