Creating Alert Exclusion Filters

Alert filters ignore events that you are not interested in. The filtered alerts do not appear in the Alert index. You can create alert filters from the System | Machine Learning | Exclusions menu or from the Event details.

Creating an Alert Filter from the System Menu

To create an alert filter from the System menu:

  1. Click System | Machine Learning | Exclusions. The Alert Filters table appears.

  2. Click Create. The Add an Alert Filter screen appears.

  3. Enter a Name for the filter.

  4. Select a Tenant.

  5. Click Add condition to start defining your condition. If an event meets any condition, it is ignored (filtered).

    For details on adding conditions, see Adding Conditions and Groups and the other sections of this topic.

  6. (Optional) Add a Note.

  7. Click Submit. The filter is immediately added.

Creating an Alert Filter from the Event Display

To create an alert filter from the event display:

  1. Click More Info for an event.

  2. Click the Actions tab.

  3. Click Add an Alert Filter. The Add an Alert Filter screen appears with fields pre-populated based on the selected alert.

  4. Enter a Name for the filter.

  5. Select a Tenant.

  6. Click Add condition to start defining your condition. If an event meets any condition, it is ignored (filtered).

    For details on adding conditions, see Adding Conditions and Groups and the other sections of this topic.

  7. (Optional) Add a Note.

  8. Click Submit. The filter is immediately added.

Alert Filter Tips

When creating alert filters by copying and pasting values from an alert's Event Details display, Stellar Cyber recommends that you use the Details tab instead of the JSON tab, as illustrated below. Values in the JSON tab may contain extra escape characters that are not handled correctly by the current implementation.

In addition, keep in mind that alert filters do not currently support manual entry of multiline values. If you need to create a filter with a multiline value or other complex values, create it from an existing alert that contains the value. The value should also not be manually modified at any point.

Adding Conditions and Groups

On the Add an Alert Filter screen, you can add conditions, inner groups, and new groups.

Click Add condition to add a condition.

  • Click Add condition again to add another condition. You can add as many conditions as you like.

  • When there are multiple conditions, you can drag and drop them to rearrange their order.

Click Add inner group to add an inner group to a condition.

  • Click Add inner group to add an inner group to an inner group (up to 10). This lets you nest conditions.

In general, new conditions are added to the top of the group, while inner groups are added to the bottom of the group.

Click Add new group to add a new group of conditions and inner groups. The relationship between groups is OR.

You can use the following modifiers with both conditions and inner groups to define the relationships between them:

  • AND—retrieves results that satisfy all the conditions

  • OR—retrieves results that satisfy at least one of the conditions

  • NOT—excludes results that satisfy the conditions

Adding a Condition

Click Add condition to add a condition.

A condition consists of:

  • Field

  • Operator

  • Value (singular or in some cases, multiple)

Fields can be one of the following five types: 

Each field type has different operators as described in the following sections.

Adding a String Field

A string field, for example, activity_id, supports the following operators:

  • is

  • is not

  • contains

  • does not contain

  • starts with

  • ends with

  • field exists

  • field does not exist

  • is in lookup

  • is not in lookup

Select an Operator and enter a Value.

There is no Value for the operators field exists and field does not exist. Enter the exact field name.

When you select a string field, the Aa icon displays. The icon toggles context-sensitivity. By default, case-sensitivity is off. When case-sensitivity is on, there will only be exact matches to the string, for example, test. When case-sensitivity is off, there may be several matches to the string, for example, test, Test, and TEST.

When the operator is is, is not, contains, or does not contain, you can enter multiple values. The relationship between the values is OR.

Adding a Number Field

A number field, for example, severity, supports the following operators:

  • is

  • is not

  • greater than

  • greater than or equal to

  • less than

  • less than or equal to

  • in range

  • field exists

  • field does not exist

  • is in lookup

  • is not in lookup

Select an Operator and enter a Value.

There is no Value for the operators field exists and field does not exist. Enter the exact field name.

When the operator is is or is not, you can enter multiple values. The relationship between the values is OR.

For the in range operator, select From and To values.

Adding a Date Field

A date field, for example, timestamp, supports the following operators:

  • is

  • is not

  • greater than

  • greater than or equal to

  • less than

  • less than or equal to

  • in range

  • field exists

  • field does not exist

  • is in lookup

  • is not in lookup

The format for date is UNIX epoch, in seconds.

Select an Operator and enter a Value.

There is no Value for the operators field exists and field does not exist. Enter the exact field name.

When the operator is is or is not, you can enter multiple values. The relationship between the values is OR.

Adding an IP Field

An ip field, for example, srcip, supports the following operators:

  • matches

  • does not match

  • field exists

  • field does not exist

  • is in lookup

  • is not in lookup

IP addresses with subnet masks are supported.

Select an Operator and enter a Value.

There is no Value for the operators field exists and field does not exist. Enter the exact field name.

When the operator is matches or does not match, you can enter multiple values. The relationship between the values is OR.

The values are validated as they are entered. An error message displays if the value is not an IP address format, for example, if it contains text.

Click OK or Dismiss, and then correct the value.

Adding a Boolean Field

A boolean field, for example, lateral, supports the following operators:

  • is

  • is not

  • field exists

  • field does not exist

Select an Operator and enter a Value. The only values are false and true.

There is no Value for the operators field exists and field does not exist. Enter the exact field name.

Using Lookups

Pre-configured lookups can be used in conditions using the is in lookup or is not in lookup operators. They are supported for string, number, date, and ip fields.

The lookup operators let you configure a reusable dynamic list of values on which to query. Instead of configuring the same list of values over multiple filters, you can use a lookup. If you want to add or remove values, you just need to modify the lookup instead of modifying each filter.

The lookup terms are case-sensitive.

Adding Fields

To add the Field part of a condition, you can:

  • select a field from the drop-down list, using the scroll bars to find a field alphabetically

  • start typing a field name, for example, to find the field totalpackets in the drop-down list, you can type a few letters in the field, such as tot

  • type a field name that is not in the drop-down list, but that exists in the Stellar Cyber database, for example, lateral. The type might be automatically detected (as boolean in this example)

  • type a field name that is not known, for example, test, and then select the type

Resolving Errors

Invalid conditions are underlined in red and an error icon appears at the end of the condition.

For example, duplicate conditions cause an error:

Click the error icon to display the error message:

You can do the following:

  • Click Remove duplicate to allow the duplicate condition to be removed automatically

  • Click Dismiss to correct the duplicate condition yourself

Alert Filtering Example

The following is a basic but common example of alert filtering, which filters out a vulnerability scanner from triggering port scan alerts.