Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

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

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

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

Display all resources with all of a set of tag keys

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.

 Display resources with tags with any of the values

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.

Display resources with a given tag with a given value

Filter by a specific key and values

To filter by a key and multiple values, you can create a single filter, 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.

 Display resources with a given key and any of the given values

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 filters is Any match (OR). We added a single filter entry 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 filters is Strict (AND).   

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

Example of Strict match filters

  • No labels