Reto
February 23, 2022, 6:56am
1
Hi
I have migrated from Inflxdb 1.8 to 2.0
At 1.8 I was able to drop measurements by cli
Assuming in 2.0 this are labels
I was not able to find out how I can delete measurement (label) which is not used anymore eg EFWS2990 or test in my example
Many thanks for your help
Reto
February 23, 2022, 9:14am
2
I could solve the Problem
influx delete --bucket “openhab_db/autogen”
–org home
–start ‘1970-01-01T00:00:00Z’
–stop $(date +"%Y-%m-%dT%H:%M:%SZ")
–predicate ‘_measurement=“WP_Power”’
–token T9QcFTyNpvmIk36iEBy99Ok9dQ1-kJ7wqjIUUmTRKSFXX4upZKxzM2as_EewOho52rHqBdiNK0njI3Gdi7==
Was much easier at influx 1.8 !
Thank you for the feedback Reto. I am adding this to our product board.
Reto
February 24, 2022, 7:36am
4
Hi Jay Thanks for your feedback.
Reto:
I could solve the Problem
influx delete --bucket “openhab_db/autogen”
–org home
–start ‘1970-01-01T00:00:00Z’
–stop $(date +“%Y-%m-%dT%H:%M:%SZ”)
–predicate ‘_measurement=“WP_Power”’
–token T9QcFTyNpvmIk36iEBy99Ok9dQ1-kJ7wqjIUUmTRKSFXX4upZKxzM2as_EewOho52rHqBdiNK0njI3Gdi7==
Was much easier at influx 1.8 !
thanks for the awesome information.