Create and save a filter

Filters add an extra layer of functionality to log searches, allowing you to drill down search results further by specifying additional parameters. You can save filters in your personal filter library or share them across your organization to simplify log analysis and provide a consistent auditing tool. 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 save a filter:

  1. Navigate to Log Search > Log Discovery.

  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 Filters for more information.

    NXLog Platform create a log filter
  4. Optionally, check the Share with my organization checkbox if you want the filter to be available for all users in your organization.

  5. Click Save & Apply to apply the filter and save it for future use, or Apply to apply it to the current search only.

Create a filter group

Follow these steps to create and save a filter group:

  1. Navigate to Log Search > Log Discovery.

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

    NXLog Platform add new filter group

    As a result, 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:

    • Audit Logs for internal NXLog Platform audit logs.

    • Log Search > Log Discovery for your organization’s logs.

  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 your 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