Recreate dropped series



I use Sensu-Influxdb-Grafana.
With auto scaling, we have an issue with grafana displaying stale clients. So it was decided to drop series for clients no longer active.

Example: curl -XPOST “http://influxdb-server:8086/query?db=mydb” --data-urlencode “q=drop series from /.*/ where host=‘client-01’”

But client-01 can become active after some time. The dropped series is not recreated. How can I work around this?


I solved this for now by just drop seris where host=client-01. and not drop series from *