Drop data from InfluxDB

1000 Views Asked by At

I'm not fully understanding the structure of influxDB and I'm wishing to drop some data from it. I have the following:

net,agent_host=10.0.1.1,host=debian
net,host=debian,interface=all
net,host=debian,interface=eth0
net,host=dns1,interface=all
net,host=dns1,interface=eth0
net,host=dns2,interface=all
net,host=dns2,interface=eth0
net,host=plex,interface=all
net,host=plex,interface=eth0

I've been able to empty the series (?) net,agent_host=10.0.1.1,host=debian, but as you can see the value is still listed when I do show series.

I don't want to nuke all of the net series, but I don't want the index(?) net,agent_host=10.0.1.1,host=debian showing up. It adds extra fields in Grafana and I just don't want it.

Can I get rid of this without nuking all of the net series?

I dropped the data by issuing: drop series from net where agent_host="10.0.1.1"

EDIT: Totally forgot. InfluxDB version 1.1.1

0

There are 0 best solutions below