# Logs grep filter

To use grep filters, follow these steps.

|     |     |
| --- | --- |
|  | `Equals` acts as `contains` while `not equals` acts as `not contains` in grep search. |

1. Type the grep string in the search box.

1. Choose the comparison operator:

=~

Regex expression equal

!~

Regex expression not equal

!=

Not equal

=

Equal (default)

2. Select the operator from the search box drop-down before typing the filter query in the logs search box.

3. Type the name of label or any variable.
