getDetail CLI command


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:

Syntax

Note

Before you run the command, note the following points:

getDetail -a <Key1>="<Value 1>" -d <hostName> -e <entityName> -p <portNumber> -u <userName> [-v] [-s] -w <password> [-l <locale>]
  • Angle brackets (< >) indicate a variable value that needs to be user defined.
  • Square brackets ([ ]) indicate optional parameters.
  • Double quotes (") indicate a space-separated value for a parameter.

The following table describes the parameters used in the syntax:

Example input

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 admin12345