How do we go about cleaning a old series using where clause in InfluxDB ? In many cases resources are no longer used/available but they will still persist as tags in the series, so is ideal to have a process in place that will clean them. Use This script to remove old/unused tags for and of your InfluxDB databases: Hope this helps. Note: Dont run this in prod before testing!!!!