Answers for "influxdb measurement create"

1

influxdb add measurement

INSERT xyz,name=serverA value=10,count=10

This will create a measurement name xyz where
tag keys : name
field keys : value & count
Posted by: Guest on April-21-2020
0

influx db add measurement

create database <data base name of your choice>

create user "<username>" with password '<password>'

To see the all databases:  SHOW DATABASES

Enter the Database: use <database name>

To see all tables inside the database: SHOW MEASUREMENTS

grant all on <data base name> to <username>

insert data (Here Motionsense is a Measurement which is similar to the table 
name of SQL): INSERT MotionSense,SensorType=Gyro roll=1.2,yaw=5,pitch=3

See the data of the Measurements: SELECT * FROM "MotionSense"
Posted by: Guest on May-13-2021

Code answers related to "influxdb measurement create"

Browse Popular Code Answers by Language