Use this command to get entity details of a saved search depending on the filter attribute provided. This command gets details only by name and ID.
To understand the syntax and examples, see:
Note
Prefix this command with the following, as appropriate:
getDetail -a <Key1>="<Value 1>" -d <hostName> -e <entityName>
-p <portNumber> -u <userName> [-v] [-s] -w <password>
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 |
---|---|
-a | Attributes of the entity for which you want to get details Note: An attribute is a unit of information about the entity. This option must be in the format You can provide the following attribute to get details of a saved search: queryName=<savedSearch> where |
-d | Host name of the Console Server |
-e | The name of the entity (saved search) that you want to create. |
-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 |
-v | (Optional) Version of the IT Data Analytics product |
-s | (Optional) Indicates an HTTPS connection |
The following example provides the input for getting details of a saved search:
getDetail -a queryName="Test search 1" -d localhost -e savedsearch -p 9797 -u admin -w admin