Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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"'
Source by docs.influxdata.com #
 
PREVIOUS NEXT
Tagged: #influxdb #delete #measurement
ADD COMMENT
Topic
Name
8+5 =