create CLI command
Use this command to create saved searches.
To understand the syntax and examples, see:
Before you run the command, note the following points:
- Set up the CLI. For more information, see Managing the product from the command line interface.
- Prefix this command with the following, as appropriate:
- For Windows: itda.bat
- For Linux: ./itda.sh
- 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:
Attributes of the entity that you want to create. You can specify multiple attributes by providing a comma-separated list.
This parameter must be in the format
You can provide the following attributes to get details about a saved search:
|Host name of the Console Server.
The entity that you want to create. Enter
|Port number of the Console Server.
|User name to use to connect with the Console Server.
|Password corresponding to the user name to use to connect with the Console Server.
|(Optional) Version of the IT Data Analytics product.
|(Optional) Indicates an HTTPS connection.
(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,
The following example provides the input for creating a saved search for the time context of "Last 7 days" (10080 minutes).
Note that this saved search is not marked as public and all the inputs containing the space character are enclosed in double quotes.
The following example provides the input for creating a saved search for the time context, "Aug 16 2013 5:30 PM - Aug 23 2013 8:00 PM".
Note that this saved search is marked as public and all the inputs containing the space character are enclosed in double quotes.