Issue formatting data for insert into influxdb

bagnina picture bagnina · Jul 26, 2016 · Viewed 10.6k times · Source

I am not understanding the format needed to insert data.

Why doesn't test a=dog,b=0,c=nice work?

On the site, I see that <measurement>[,<tag-key>=<tag-value>...] <field-key>=<field-value>[,<field2-key>=<field2-value>...] is the format to follow.

I also am reading you can have 0-many tags (in the above example I have zero tags)

Not sure what I am violating or why the error I keep getting is {"error":"unable to parse 'test a=dog,b=0,c=nice': invalid boolean"}

Who said anything about a boolean!?

Answer

Rugaloo picture Rugaloo · Jul 27, 2016

Try this,

test a="dog",b=0,c="nice"