Commad to delete a particular series from influxdb

jjensen@host:~$ influx
Connected to http://localhost:8086 version 1.5.2
InfluxDB shell version: 1.5.2
> create database dummy
> use dummy
Using database dummy
> INSERT dummy_measurement,host=harsha some_value=1
> INSERT dummy_measurement,host=harsha some_value=2
> INSERT dummy_measurement,host=harsha some_value=3
> INSERT dummy_measurement,host=harsha some_value=4
> INSERT dummy_measurement,host=harsha some_value=5
> INSERT dummy_measurement,host=harsha some_value=6
> INSERT dummy_measurement,host=harsha some_value=7
>
> show series
key
---
dummy_measurement,host=harsha
> select * from dummy_measurement
name: dummy_measurement
time                host   some_value
----                ----   ----------
1529507904004212958 harsha 1
1529507905315150762 harsha 2
1529507906266940560 harsha 3
1529507907371478346 harsha 4
1529507908498060630 harsha 5
1529507909547188977 harsha 6
1529507911006787481 harsha 7
> show series where host='harsha'
key
---
dummy_measurement,host=harsha
> drop series where host='harsha'
> show series where host='harsha'
>
1 Like