Just enter the value of the field.
If we talk about custom fields (which are UF_*), then they are filtered by them as by a separate field (add the field to the filter).
In the settings of the custom field itself, also specify the possibility and type of search.