How do you INSERT into influxDB using the SQL-like interface?

时光总嘲笑我的痴心妄想 提交于 2019-12-08 20:35:08

问题


Is it possible to INSERT data into series / measurements using the SQL-like interface on InfluxDB?


回答1:


Yes, you can simply INSERT a Line Protocol string.

An example from Getting Started:

INSERT cpu,host=serverA,region=us_west value=0.64

A point with the measurement name of cpu and tags host and region has now been written to the database, with the measured value of 0.64.



来源:https://stackoverflow.com/questions/47447511/how-do-you-insert-into-influxdb-using-the-sql-like-interface

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