Hi,
I have following tick script:
dbrp "iot"."autogen"
var actual = stream
|from()
.database('iot')
.retentionPolicy('autogen')
.groupBy('deviceid', 'region')
.measurement('wf')
|window()
.period(30m)
.every(5m)
.align()
|mean('us')
.as('depth')
|influxDBOut()
.create()
.database('iot-calibrated')
.retentionPolicy('autogen')
.measurement('distance')
New DB is created however the tags from original db aren’t present anymore in the new db. How do I retain the existing tags in the new db?