I have a working flow which sends mqtt data to an influx db. I recently upgraded the influxdb from 1.8 to 2.3 and after switching the connection inside the influxdb node from version 1.x to 2.0. I realized a strange behavior.
All tags with the value 0 eg. string=0 are missing inside the influxdb. Switching back to server version 1.x solved the problem.
After digging around and capturing some TCP connections I'm sure, that the tags are dropped in the node-red-contrib-influxdb code or the influxdb-client library.
I have configured a flow with two influxdb output nodes, one uses v1.8 which works great and the second uses a version 2.0 to export the same msg. Tags with values != 0 are exported in both versions, but tagvalues == 0 are dropped on the version 2.0 connection:
Hello,
I have a working flow which sends mqtt data to an influx db. I recently upgraded the influxdb from 1.8 to 2.3 and after switching the connection inside the influxdb node from version 1.x to 2.0. I realized a strange behavior.
All tags with the value 0 eg. string=0 are missing inside the influxdb. Switching back to server version 1.x solved the problem.
After digging around and capturing some TCP connections I'm sure, that the tags are dropped in the node-red-contrib-influxdb code or the influxdb-client library.
I have configured a flow with two influxdb output nodes, one uses v1.8 which works great and the second uses a version 2.0 to export the same msg. Tags with values != 0 are exported in both versions, but tagvalues == 0 are dropped on the version 2.0 connection:
I have attached 4 tcpdump parts.
Who can help to resolve this issue?
Thank you very much.