Apply tags using queries

Prev Next

You can use queries to extract the specific list of systems and apply tags on systems, based on selected tags. In addition, you can remove and exclude tags from the listed systems. For example, you can apply the Server tag, then remove the Workstation tag.

Create tags

For details about product features, usage, and best practices, click ? or Help.

  1. Select MenuAutomationServer Tasks.

  2. Click New Task, Server Task Builder appears.

  3. Enter the Name and Notes(optional). Enable/Disable the Schedule Status, click Next.

    Tip

    If you want the task to run automatically, set Schedule status to Enabled.

  4. From the Actions drop-down list, select Run Query.

  5. In the Query field, select one of these queries from the Trellix Groups tab, then click OK.

    • Inactive Agents

    • Duplicate Systems Names

    • Systems with High Sequence Errors

    • Systems with no Recent Sequence Errors

    • Unmanaged Systems

  6. Select the language for displaying the results.

  7. From the Sub-Actions list, select one of these subactions to take on the query result.

    • Apply Tag — Applies a selected tag to the systems returned by the query.

    • Clear Tag — Removes a selected tag on the systems returned by the query. Select Clear All to remove all tags from the systems in the query results.

    • Exclude Tag — Excludes systems from the query results if they have the selected tag applied to them.

  8. From the Select Tag window, select a tag group from the Tag Group Tree and optionally filter the list of tags by specifying Tags.

    Note

    Click the + button to add more actions. Be careful to place the actions in the order that you want them to occur.

  9. Click Next.

  10. Schedule the task, then click Next.

  11. Verify the configuration of the task, then click Save.

The task is added to the list on the Server Tasks page.