InfluxDB

From wiki.vacula.xyz
Revision as of 19:23, 6 April 2026 by Dracula (talk | contribs) (Created page with "== 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")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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