get_config_searches

Displays information about saved configuration searches.

Format

emcli get_config_searches
      [-target_type="<name_or_pattern>"] 
      [-search_created_using="<sql or modeler> "] 
      [-system_defined="<yes or no>"] 
      [-format="name:<format_option>"] 
      [-noheader] 
     
[ ]  indicates that the parameter is optional. 

Options

  • target_type

    A string matching the target type on which the configuration search is based. Use the internal target type name. Specify the full name or a pattern match using "%" as a wildcard.

  • search_created_using

    Indicates whether this search was created using the modeler, through an SQL script, or All, hence the value should be either 'modeler', 'sql', or 'All' . The default is 'All'.

  • system_defined

    Indicates whether this search was defined by the System, User , or All, hence the value should be either 'yes' or 'no'. The default is 'All'.

  • format

    Format specification (default is -format="name:pretty").

    • format="name:pretty" prints the output table in a readable format not intended to be parsed by scripts.

    • format="name:script" sets the default column separator to a tab and the default row separator to a newline. The column and row separator strings may be specified to change these defaults.

    • format="name:csv" sets the column separator to a comma and the row separator to a newline.

      format="name:script;column_separator:<column_sep_string>" column-separates the verb output by <column_sep_string>. Rows are separated by the newline character.

    • format="name:script;column_separator:<column_sep_string>" column-separates the verb output by <column_sep_string>. Rows are separated by the newline character.

    • format="name:script;row_separator:<row_sep_string>" row-separates the verb output by <row_sep_string>. Columns are separated by the tab character.

  • noheader

    Display tabular output without column headers.

Examples

Example 1

The following example shows all of the configuration searches created on target types whose names contain the pattern "data" with searches created using SQL.

emcli get_config_searches 
      -target_type="%data%" 
      -search_created_using="sql      

Example 2

The following example shows all of the configuration searches created on target types whose names contain the pattern "data" and searches created using Modeler and the search is defined by the system.

emcli get_config_searches 
      -target_type="%data%" 
      -search_created_using="modeler" 
      -system_defined="yes"