influxdbinfluxdb-pythoninfluxqlchronografinfluxdb-2

`missing tag key` when inserting to InfluxDB with inserting with multiple tags


I created a new db mydb on Influxdb. Next I did use mydb When I run insert on my db, I run into error - ERR: {"error":"unable to parse 'angle, userid=1, product=pname value=5.1': missing tag key"}

Here's the insert that I am running - INSERT angle, userid=1, product=dname value=5.1


Solution

  • After checking docs and multiple hit and tries I figured outthe correct way to insert in influxDb with multiple tags is this -

    INSERT angle,id=1,product=ineck value=5.0

    https://docs.influxdata.com/influxdb/v2.0/reference/syntax/line-protocol/