Important Notice: On February 29th, this community will be put into read-only mode. All existing posts will remain but customers will be unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Add more then 1 value in a filter

Hi everyone,

in one of my filters I want to exclude several devices from the filter. At the moment I'm doing this one by one, but I thought I was possible to add more then 1 value is a filter. Is this correct and if so, how should I do this?

Jo

0

Comments

3 comments
Date Votes
  • I'm assuming that the devices being targeted are for an anomalous reason and can't be filtered by a property or scanner. You could do it two other ways, but both still require manual updating.

    The first would be through a custom field on devices. Then set a filter to exclude any devices where the custom field equals a value you set.

    The second would be exclude based on expressions. Group filter = Not Any. Filter = Computer > Name > Matches Expression > @(VariableName). The variable would be defined as "DeviceName1|DeviceName2|DeviceName3|".

    You're still having to manually update something either way, whether it's a collection, custom field, or variable.

    1
  • Another option is to create a Collection (Dynamic or Static) that contains the computers you would like to exclude, then add the following Filter to your Collection:

    Computer | Collection | Is Not Member | Exclusion collection

    1
  • Thanks James D! That was doing the trick.

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post