InfluxDB

From wiki.vacula.xyz

Bucket and Schema Operations

Delete a measurement from a bucket's schema:

influx delete --bucket grafana --predicate '_measurement="memory_usage"' --start 1999-01-01T00:00:00Z --stop 2027-01-01T00:00:00Z

Bulk delete measurements from a bucket's schema:

while read line ; do influx delete --bucket grafana --predicate '_measurement=$line' --start 1999-01-01T00:00:00Z --stop 2027-01-01T00:00:00Z ; done < bucket_measurements.txt