How to delete multiple measurements?

I am trying to delete multiple measurements which can be easily wildcarded:
blu01 blu02 ... blu10

The cli has predicate, but I am not sure how to specify wildcard such as blu* or blu.* for regex.

influx delete --bucket "BUCKET" --org "ORG" --predicate '_measurement="MEASUREMENT"' --start "1970-01-01T00:00:00Z" --stop "2025-12-31T23:59:00Z" --token "TOKEN"

If this is wrong way, what is the best way to delete multiple measurements?

Hi @Georgy

I’m not an expert but I think you should use the regex wildcard search feature (not tested in command line but I’m using it in my queries).

‘-_measurement =~ /^blu\d\d/’

The search is : Measurement have to start by ‘blu’ and 2 digit after blu
You can find many sites with regex generator :wink:
Hope it will help you

@Franck_Bellot
Unfortunately it didn’t work…
operator: "=~" at position: 12 is not supported yet

Oups, sorry I’m not an expert, I do not know how to solve your topic.
I will let team members to support you