The language of search queriesBeta
The search language allows you to:
- search by one or more filter expressions,
- apply logical and comparison operations.
To filter logs, use the filter parameters in the search field:
Parameter | Format | Description | Example |
|---|---|---|---|
|
| Search for records that have the specified values in their messages. It is a default parameter, you do not need to specify it in the request |
|
|
| Search for records sent in a given time interval |
|
|
| Search for records with specified logging levels. Available logging levels are |
|
|
| Search for records whose |
|
|
| Lexicographic search of records by the You can check whether an element exists in |
|
-
The characters
",'and\in an expression are escaped using\. -
The value does not need to be enclosed in quotes:
- if it starts with a letter of the Latin alphabet and contains only letters of the Latin alphabet, numbers and underscores;
- if it is an unsigned integer.
-
Available values for
timestamp: RFC3339.
Operator | Decoding |
|---|---|
| Equal |
| Not equal |
| Greater than |
| Less than |
| Less than or equal to |
| Greater than or equal to |
| Contains |
You can combine several conditions in one filter using logical operators:
ANDORNOT
Use parentheses to specify a specific order of calculations:
PARAMETER_1: "VALUE_1" AND (PARAMETER_2 = "VALUE_2" OR PARAMETER_3 < "VALUE_3")