Issue formatting data for insert into influxdb

纵然是瞬间 提交于 2019-12-08 19:18:59

问题


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!?


回答1:


Try this,

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


来源:https://stackoverflow.com/questions/38593887/issue-formatting-data-for-insert-into-influxdb

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!