How to filter a backend grid programmatically?

Hi I have a litle problem, I have a component in \view\adminhtml\ui_component\module_log_listing.xml, that it’s use to list all my custom Logs in the backend, but I want to show in the backend only logs that are distinct of “warning” and never show the this again. The question is if can I filter the listing to show only the logs that I want.

The SQL language has a lot of ways to filter a result-set.
Start exploring it with the WHERE.

See also:

How to filter a database collection?