Tidying up the database

You need to use InfluxDB addon UI, where you can check and manipulate InfluxDB data: (InfluxDB and Home Assistant (Part 2) | dummylabs.com)

How to delete data: InfluxDB: Removing or deleting data