On Tuesday, September 29, 2015 at 11:36:23 PM UTC+2, 
jre...@securityscorecard.io wrote:
> Is there a way to delete measurements that match a pattern?
> 
> I've tried:
> 
> DROP MEASUREMENT /pattern.*/
> 
> But it doesn't work.
> 
> Thanks in advance!


Find solution via bash:

```
for i in $(influx -database "jvm" -execute 'show MEASUREMENTS' | grep 
some_expression)
do
  echo $i
  influx -  -database "jvm" -execute "DROP MEASUREMENT  \"$i\" "
done  
```
-- 
Meet us at:

*@Ad Tech Tokyo*, Tokyo, Sept. 20-21
*@Modern Marketing Summit*, New York, Sept. 26
*@iab MIXX Conference*, New York, Sept. 26
*@App Strategy Workshop*, Berlin, Sept. 29

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to influxdb+unsubscr...@googlegroups.com.
To post to this group, send email to influxdb@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/a8ea01e8-ece4-4220-af0b-d8d31e0970ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to