Previous Topic: QueriesNext Topic: Query Designer


Create a New Query

You can create a query when you need to get a list of assets that meet certain criteria. You can use these queries to create dynamic groups and query-based policies.

To create a new query

  1. Right-click Queries in the DSM Explorer and select New from the context menu.

    The Select Target dialog appears.

  2. Select the object on which you want to create the query and click OK.

    The Query Designer dialog appears.

  3. Insert the arguments required to create the new query and click OK.

    The query is created with the given name and displayed under the appropriate folder in the Queries folder.

Example: Create a Query to Display All the Assets That Have Completed the CA eTrust Virus Scanner - Force Signature Update Job Successfully

  1. Right-click Queries and select New from the context menu.

    The Select Target dialog appears.

  2. Select Computers and click OK.

    The Query Designer dialog appears.

  3. Click Jobs, Asset Jobs

    The Select Field dialog appears.

  4. Select Job Status, Current Status.
  5. In the Job field, select CA eTrust Virus Scanner - Force Signature Update, and in the Status field, click OK.
  6. Click OK, and enter a unique name for the query.

    The new query is created under the Queries, Computers folder.

  7. Select the query, and click Quick Preview.

    All the assets that have successfully completed the CA eTrust Virus Scanner - Force Signature Update job appear.

More information:

Preview a Query

Run a Query