Influxdb Several methods of operation, like to use the HTTP API to write data, or through the INFLUXDB terminal to operate (I like the type), each method is suitable for the scene.
The introduction is done via API interface and terminal mode:
Http://192.168.15.104:8086/write?db=mydb&cpu_load_short,host=server01,dc=mycat,region=us-west value=0.64
Terminal write:
Use MyDB
Insert Cpu_load_short,host=server01,dc=mycat,region=us-west value=0.64
Query data: (in the window of the URL), began to think is in the 8083 page that query, has been oolong ...
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/8B/C4/wKioL1hYmC2i0V-_AACXBDSdKX0624.png-wh_500x0-wm_3 -wmp_4-s_1784744324.png "title=" 333.png "alt=" Wkiol1hymc2i0v-_aacxbdsdkx0624.png-wh_50 "/>
Http://192.168.15.104:8086/query?db=mydb&q=SHOW%20MEASUREMENTS #查看库下的measurements
Http://192.168.15.104:8086/query?db=mydb&q=select%20*%20from%20disk_use #查看具体的数据
# #小记事:
%20 is a space
%22 is "
This article is from the "DBSpace" blog, so be sure to keep this source http://dbspace.blog.51cto.com/6873717/1884177
Influxdb Query Write operations