Create a filter

Filters enable you to display groups of devices based on specific criteria including type of hardware, operating system and applications. You can use these filters on custom dashboards to monitor key devices, or use them to define rules or tasks.

When creating rules, you can use more than one filter. Multiple filters are linked by OR logic; devices that meet any of the filters used when configuring a rule will be included.

You cannot edit System level default filters. Either clone the existing filter to use as a new filter that you can modify.

  1. Expand Configuration in the left navigation pane,
  2. Click Filters.
  3. Click Add.
  4. Enter a Filter Name and optional Description.
  5. Select who can view and use the filter from the is available to drop-down.
  6. You will not be able to see a filter if the filter is private and not yours, that is, not set to Everyone, or if Show in my Drop-Down is not enabled.

  7. Use the Find devices where drop-down to build the filter criteria (category, sub-category, operator and value).
  8. Click Advanced Mode to develop more precise filtering. For more information, see Advanced variables and custom expressions below.
  9. Click Show Devices on the right-hand side of the screen and click Preview to see the results of the filter you are creating.

  10. Click Save.

The filter is added to the filters list and ready to use in N-able N-central including in service templates, scheduled tasks, rules and Dashboards.

If you use filters for a task, N-able N-central uses a snapshot of the filter for the targeted devices to include in the task. This avoids potential unexpected behavior when running tasks in the future. If you need to apply a task to devices, it is best to use a scheduled task profile. This enables a task to apply to the devices using a rule.

You can easily find the filter later using the filter search.

Advanced variables and custom expressions

When you click Advanced Mode, you can define criteria relationships specifically to create extremely precise Filters from the Find devices where drop-down list box. The default relationships are:

  • A and B - Both Criteria A and Criteria B must be met.
  • (A and B) or C - Either the combination of both Criteria A and Criteria B or just Criteria C must be met.
  • (A or B) and (C or D) - The combination of either Criteria A or Criteria B and the combination of either Criteria C or Criteria D must be met.
  • ((A or B) and (C or D)) or E - The combination of either Criteria A or Criteria B and the combination of either Criteria C or Criteria D or just Criteria E must be met.

Or select Custom Expression and input an expression using variables and relational operators based on:

  • Individual criteria must be identified with either an uppercase alphabetical character (A-Z), a lowercase alphabetical character (a-z) or a single-digit numerical value (0-9).
  • The only relational operators that are supported are AND and OR. AND identifies that the variables must be matched in combination while OR identifies that variables must be matched either in combination or individually.
  • When using the NOT EQUAL TO operator, you need to invert AND's and OR's to get the proper logical output.

  • Variables can be grouped in parentheses to isolate relationships from other variables or relationships.

For example, you can define the following custom expression (A and B) or (c and d) or (1 and 2).

After typing the custom expression into the field, click Generate to display the number of criteria parameters that are indicated in your expression. In the example provided above, six different criteria parameters would be needed (A, B, c, d, 1 and 2).