Recorder domain exclude not working as expected

Could you show your config and maybe a line from events table that has a browser_mod related entry?

Actually, I think it might be working, last record is at 16:10, now 16:19 local
You can see the value in the shared_attrs column in my first post above.
Does this table get purged every 7 days or I have to manually remove those 140k records?

I was looking for the line from the table “events”, not “shared_attrs” because my filter is linked to event_type (which is easiest spotted in the table “events”).

I think all data from all tables except for the “statistics*” tables is purged after the specified amount of days (10 days, if you did not change it).

Yes it looks like the events table does hold only 7 which is my recorder days settings so that’s fine.
But as you can see above when I compared the files sizes only the state_attributes keeps growing from day to day
But I am not 100% it stopped logging them because I am now at 150k records and I can see newer entries:

{
    "type": "browser_mod",
    "last_seen": "2022-04-24T16:29:53.274296",
    "deviceID": "4795ace9-5a9fc377",
    "path": "/lovelace/kitchen",
    "visibility": "visible",
    "userAgent": "Mozilla/5.0 (Linux; Android 11; SM-T510 Build/RP1A.200720.012; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.127 Safari/537.36",
    "currentUser": "xxx",
    "fullyKiosk": false,
    "width": 1280,
    "height": 800,
    "battery_level": 85,
    "charging": false,
    "darkMode": false,
    "userData": {
        "id": "62df499525574a619ee6254448b84b85",
        "name": "xxx",
        "is_owner": true,
        "is_admin": true,
        "credentials": [
            {
                "auth_provider_type": "homeassistant",
                "auth_provider_id": null
            }
        ],
        "mfa_modules": [
            {
                "id": "totp",
                "name": "Authenticator app",
                "enabled": false
            }
        ]
    },
    "config": {
        "command": "update",
        "name": "kitchen",
        "camera": true
    }
}