Event console, events are not canceled

We have various events that occur on a machine which we display in the event console.
All with the same pattern which matches the “Text to match”.
Now we want all event entries to be deleted at once with the pattern “Text to cancel event(s)”

The events always come from the same host and always match the same rule:

CMK version: Checkmk Enterprise Edition 2.2.0p24
OS version: Rocky Linux 9.3

Error message: none