Use this command to list the names of particular index types or all the index types present in the system.
When data is indexed, it is stored in a particular category of index. Each category denotes an index type.
The following index types are available:
To understand the syntax and examples, see:
Note
Prefix this command with the following, as appropriate:
indexlist -d <hostname> -p <portNumber> -u <username> -w <password> -indextype <type> [-l <locale>] [-s] [-v]
Angle brackets (< >) indicate a variable value that needs to be user defined.
Square brackets ([ ]) indicate optional parameters.
The following table describes the parameters used in the syntax:
Parameter | Description |
---|---|
-indextype | Type of index for which you need details. You can specify one of the following values:
|
-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. |
-v | (Optional) Version of the IT Data Analytics product. |
-w | Password corresponding to the user name to use to connect with the Console Server. |
-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, |
-s | (Optional) Indicates an HTTPS connection. |
The following example provides the input for listing details of the "data" index type.
indexlist -u admin -w admin12345 -d localhost -p 9797 -indextype data
The following example provides the input for listing details of all the index types available.
indexlist -u admin -w admin12345 -d localhost -p 9797 -indextype all