openHAB - Filtering event logs

It appears that you’ve used the example from the first post, which was written for OH2 over six years ago. Per the discussion, it does not work in OH3 (or OH4). You need this:

And if you want to have multiple filters, you can use this.