Target Filter View ¶
HOWTO video on Target Filter View
The filters created in the Target Filter View can be applied in the Deployment and Rollout views as seen in Figure 2 and Figure 3 below:
Figure 2 - Deployment View - Custom Filter
Figure 3 - Rollout View -- Custom Target Filter
Add (Plus icon)¶
To create a custom filter in the Target Filter View, click the Plus icon on the top right of the screen.
Clicking the Search icon will enable the user to query by any string inside the container.
You will need to define the Filter Name and also a query. In the example above we have:
Filter Name: Devices in New York
Query: tag = "office_columbus_ave"
In this case, a query for the tag “office_columbus_ave” will be applied. This means that any Target Device which has the tag “office_columbus_ave” associated to it will be a result.
Other Query Examples¶
|updatestatus==error||Displays all target devices in ‘error’ state|
|controllerid!=188.8.131.52||Displays all targets that don’t have the controllerid 192.168.10.24|
|name==*nitro*||Displays all targets which contain the term ‘nitro’ in their name.|
|name==*nitro* or description==*nitro*||Displays all targets that either have the term ‘nitro’ in their name or description.|
|name==*warp* and description==*warp*||Displays all targets that have the term ‘nitro’ in their name and their description|
|name==adu* and updatestatus==pending||Displays all targets with their name starting with ‘nitro’ which are not in ‘pending’ state.|
|(assignedds.name=='Web Content' and description==Plug) or updatestatus!=error||Displays all targets which are either assigned to the ‘Web Content’ distribution and have description equals to ‘Plug’ or which are not in error status.|
|(updatestatus!=In_sync or updatestatus!=error) and name==*warp*||Displays all targets that don’t have the updatestatus In_sync or error and which also contain the term ‘warp’ in their name.|
|(updatestatus!=error or updatestatus!=pending) and (name==*warp* or description==*warp*)||Gives all targets that either have the term ‘warp’ in their name or their description and also either have the update status not in state error or pending.|
|createdat=ge=1540523864398||All targets which were created (in other words, first poll) on or after Wednesday, August 22, 2018, 00:38:08. The value is expressed as UTC in milliseconds.|
- Equal: ==
- Not Equal: !=
- Greater than or equal: =ge=
- Less than or equal: =le=
- Greater than: =gt=
- Less than: =lt=
- 'In' parameter: =IN= (Example: name=IN=(target1,target2)
- Wildcard: *
The Auto Assignment feature can be used to apply a distribution, upon a custom filter. For example, using the createdat=ge= query from the Other Query Examples table above, it can be used to trigger the application of a distribution to devices that poll for the first time on or after the defined UTC time.
Once you've defined a custom filter, navigate to the Auto assignment column under Target Filter View and click on the link that says: none, inside the row of the custom filter that you are working on. See Figure 5 above.
On the next popup window that appears, you will enable the auto assignment feature, select a distribution to apply in the list, and then choose save.