3.3.10. Filtering list entries

ZMC displays information in several places as tables of entries having various parameters or meta-information. Such filter windows are used to display firewall rules, Zorp logs, Active connections, and so on. The common properties and handling of these tables is summarized in this section.

A filter window

Figure 3.27. A filter window

Filter windows consist of three main parts:

  • Filter bar

  • Table displaying the entries

  • Command bar to perform various actions on the selected entries

The actions available in the command bar are described at the documentation of the actual component using the filter window (for example, Log viewer).

Each entry of the table consists of a single row, with the various parameters displayed in labeled columns.

  • To sort the entries, click on the column headers.

  • To modify the order of the columns, drag the column header to its desired place.

  • To hide a single column, right-click on the column header and click Hide This Column.

  • To configure the columns to be displayed, right-click on the column header and click Set columns..., select a column and move it with the arrow. Click OK.

To filter the entries, use the filter bar located above the table. The Filter type specifies the column to search for the expression (string or regular expression) typed in the field. To search, click Filter now. To restore the full list, click Clear. To create custom filter expressions, select the Advanced option as Filter type. The filter expressions can also be combined using the logical AND (if all criteria are met) and OR (if any criteria are met) operations. Custom filters can be run once (click Ok), or they can be bookmarked for repeated use (click Save).

Tip

To display the Advanced filter editor dialog with the latest advanced filter, click ....

Advanced filtering

Figure 3.28. Advanced filtering

Saved filters are also displayed in the Filter type combobox. To manage saved filters (delete, rename and edit), click Edit bookmarks.

Editing bookmarks

Figure 3.29. Editing bookmarks

In some cases (for example, in the Log viewer), advanced filters can be configured to highlight the entries matching the filter expression. To configure highlighting, select Color matching and set the color of the highlighting.

Tip

By assigning different colors to different bookmarked filters, the important elements of the table can be highlighted in several colors.