Tag search filter examples

 

To show tag filters, we have illustrated a set of separate examples. Please begin each example with clear filters.

Within the tag search filters, the operation Any match is equivalent to the Boolean operator OR and the operation Strict is equivalent to AND.   

Filter by a key

This filter lists resources tagged with tag key A. The operations Any match (OR) and Strict (AND) are not used.

Filter resources by a tag key
Display all resources with a tag key

Filter by keys

To filter by keys, enter the Keys and select an operation. 

Select Any match (OR) to list resources tagged with any of the keys, in this case, key A or B.

Display all resources with any of a set of tag keys
Display all resources with any of the given tag keys

Select Strict (AND) to list resources tagged with all the keys, in this case A and B.

 

Filter by values

To filter by values, enter a list of Values and select an operation.

Select Any match (OR) to list resources tagged with tags with any of the values, in this case values 1 or 2.

Select Strict (AND) to list resources tagged with tags with all of the values, in this case values 1 and 2.

Filter by a key and a value

This filter lists resources tagged with tag key A with value 1. The operations Any match (OR) and Strict (AND) are not used.

Filter by a specific key and values

To filter by a key and multiple values, you can create a single filter element, with one key and a list of values. 

In this example, we entered the Key of A, then the Values of 1 and 2, and then we clicked Add.

The operation to join the list of values is always Any match (OR), because you cannot create multiple tags with the same key on the same resource.

Complete Any match (OR) example

To make this example more readable, we will use a tag:value notation.

In this example, we filter resources tagged A:1 or A:2 or B:3 or C:* (any tag beginning C) or D:* (any tag key of D) or *:4 (any tag value of 4) or *:5 (any tag value of 5). The operation to join the filter elements is Any match (OR). We added a filter element with a single tag for A with a list of values (1, 2).

Complete Strict (AND) example

To make this example more readable, we will use a tag:value notation. 

In this example, we filter resources tagged (A:1 or A:2) and B:3 and C:* (any tag with a key of C) and D:* (any tag with a key of D) and *:4 (any tag with a value of 4) and *:5 (any tag with a value of 5). The operation to join the filter elements is Strict (AND).   

We added a filter element with a single tag for A with a list of values (1, 2).

 

 

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved