Filter entities from recorder/logbook not working for me

I have some scripts and automations that run every 10 seconds. Therefore, they cause a lot of noise that I want to filter out. According to documentation this should be possible with follwing lines in configuration.yaml

recorder:
  exclude:
    entity_globs:
      - script.display_wz_*
      - script.display_az_*
      - automation.display_wz_*
      - automation.display_az_*
    entities:
      - script.display_wz_update
      - automation.display_wz_update

I also tried for testing purpose to exclude domain script completely. Of course restarted HASS. But no luck, I still see all entries in logbook. (Recorder should turn off logbook, too. But I had tried with “logbook:” and same entries too with no luck)

Has someone filtered recorder/logbook successfully?