Create a filter

Filters add an extra layer of functionality to log searches, allowing you to drill down search results further by specifying additional parameters. There is also an undo button and the possibility of grouping filters to make the precedence of the operators explicit.

Create a filter

Follow these steps to create and apply a filter:

  1. Depending on the type of logs you are interested in, navigate to:

    • Logs > Audit.

    • Logs > System.

  2. In the Search panel, click the + button, then select Add filter.

    NXLog Platform new search filter
  3. Enter a filter name and select the filter settings. See Log filters for more information.

    NXLog Platform create a log filter
  4. Click Apply to apply the filter.

Create a filter group

Follow these steps to create and apply a filter group:

  1. Depending on the type of logs you are interested in, navigate to:

    • Logs > Audit.

    • Logs > System.

  2. In the Search panel, click the + button, then select Create group.

    NXLog Platform add new filter group

    The following appears in the Search panel:

    • A new filter group named Group#1.

    • An undo button.

      NXLog Platform add new filter to filter group
  3. To add a filter to the filter group, click the + button in the filter group, then follow the procedure explained above in the Create a filter section.

    NXLog Platform new group filter
  4. If you’re adding multiple filters or groups, select the AND or OR operators between your filters or filter groups.

    NXLog Platform new group filter

Create a filter in advanced mode

Follow these steps to create a filter in advanced mode:

  1. Depending on the type of logs you are interested in, navigate to:

    • Logs > Audit.

    • Logs > System.

  2. In the Search panel, toggle the Advanced mode switch.

    NXLog Platform new advanced search
  3. Type your query string in the query field.

    NXLog Platform execute advanced search

    The results of your query automatically appear if the query is valid.

Examples

Example 1. Creating a date-based filter

This filter uses the EventTime field and Greater than operator to retrieve all events logged after July 2, 2023.

New datetime filter
Figure 1. Creating a date-based filter in the GUI
New datetime filter
Figure 2. Creating a date-based filter in advanced mode
Example 2. Creating a string-based filter

This filter retrieves all high-severity events using the Severity field and the Equal to operator.

New string filter
Figure 3. Creating a string-based filter in the GUI
New string filter
Figure 4. Creating a string-based filter in advanced mode