Influxdb Query Write operations

Source: Internet
Author: User
Tags influxdb

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.