Print Download PDF Send Feedback

Previous

Next

Search and Filters

In This Section:

Search Bar

Filters

Timeframe

Query Language Overview

This section covers the search bar and filters in Views and Reports.

Search Bar

The search bar lets you:

The search applies to all widgets in the view / report.

You can automatically enter query text into the search bar by right clicking a value in the widget and selecting Filter or Filter Out.

In the Log View, click the Favorites button to open the predefined queries.

For more on queries, see: Query Language Overview

Filters

The search bar is used to apply on-demand filters, but you can also save filters with the view / report definition.

There are different layers of filters:

  1. Filters to apply to the full report.
  2. Filters to apply to a view, or a specified page in a report and all widgets that this page includes.
  3. Filters to apply to the selected widget.

Edit View Filter

  1. Click the + (plus) button to add a filter.
    To delete a filter, click the X button.
  2. Select a field.
    To enable free text search, select Custom Filter.
  3. Select a comparison method.
  4. Select or enter the value.
    You can define multiple values, separated by a comma.

Timeframe

Select one of these time frames:

You can also define a time range.

Query Language Overview

SmartEvent includes a powerful query language that lets you show only selected records from the log files, according to your criteria. You can create complex queries with Boolean operators, wildcards, fields, and ranges. This section is a detailed reference to the SmartEvent query language.

When you use the SmartEvent GUI to create a query, the applicable criteria show in the Query Definition field.

The basic query syntax is:

[<Field>:] <filter_criterion>

You can put together many criteria in one query with Boolean operators:

[<Field>:] <filter_criterion> AND|OR|NOT [<Field>:] <Filter_Criterion> ...

Query keywords and filter criteria are not case sensitive.

Most query keywords and filter criteria are not case sensitive, but there are some exceptions. For example, Risk:High is case sensitive (Risk:high will not match). If your query results do not show the expected results, change the case of your query criteria or try both upper and lower case.

Note: When you use queries with more than one criteria value, you must explicitly enter a Boolean operator.

Criteria Values

Criteria values are written as one or more text strings. You can enter one text string, such as a word, IP address or URL, without delimiters. Phrases or text strings that contain more than one word must be surrounded by quotation marks.

One word string examples:

Phrase examples

IP Addresses

IPv4 addresses used in SmartEvent queries are counted as one word. You can enter IPv4 address using dotted decimal notation. You can also use the '*' wildcard character with IPv4 addresses.

Example:

NOT Values

You can use NOT <field> values with field keywords in SmartEvent queries to find events for which the filed has no value.

Syntax

NOT <field>

Example

NOT src:10.0.4.10

Wildcards

You can use the standard wildcard characters (* and ?) in queries to match variable characters or strings in log records. The wildcard character cannot be the first character in a query criterion. You can use more than wildcard character in query criteria.

Wildcard syntax

Examples:

If your criteria value contains more than one word, you can use the wildcard in each word. For example, 'Jo* N*' shows Joe North, John Natt, Joshua Named, and so on.

Using Wildcards with IP Addresses

The * wildcard character can represent digits in IPv4 addresses. You can only use the wildcard character for one or more full octets in the address. It must be preceded by the dot character. For example, 192.168.* is legal, but 192.168.2* is not.

Examples:

Field Keywords

You can use predefined field names, followed by a colon, as keywords in filter criteria. SmartEvent only shows log records that match the criteria in the specified field. If you do not use field names, SmartEvent shows records that contain the criteria in all fields.

This table shows the predefined field keywords. Some fields also support keyword aliases that you can type as alternatives to the primary keyword.

Keyword

Keyword Aliases

Description

severity

 

Severity of the event

risk

 

Potential risk from the event

protection

 

Name of the protection

protection_type

 

Type of protection

confidence

 

Level of confidence that an event is malicious

action

 

Action taken by a security rule

blade

product

Software Blade

destination

dst

Traffic destination IP address, DNS name or Check Point network object name

origin

 

Name of originating Security Gateway

service

 

Service that generated the log entry

source

src

Traffic source IP address, DNS name or Check Point network object name

user

 

User name

The syntax for a field name query is: <field_name>:<values>

Examples:

Boolean Operators

You can use Boolean operators in queries. The available Boolean operators are:

Notes:

Examples: