Answers for "influxdb 2.0 delete measurement"

0

influxdb delete measurement based on date

# InfluxDB: delete from measurement, based on time
DELETE FROM foo WHERE time > '2014-06-30' and time < '2014-06-30 15:16:01'
Posted by: Guest on June-06-2020
0

influxdb 2.0 delete measurement

influx delete \
  --token token \ # Needed for me but not in source
  --org organization \ # Needed for me but not in source
  --bucket example-bucket \
  --start 1970-01-01T00:00:00Z \
  --stop $(date +"%Y-%m-%dT%H:%M:%SZ") \
  --predicate '_measurement="example-measurement"'
Posted by: Guest on March-31-2021

Code answers related to "influxdb 2.0 delete measurement"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language