Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

influxdb

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

like image 820
Ryan Leach Avatar asked Nov 23 '17 04:11

Ryan Leach


1 Answers

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.

like image 184
peterdn Avatar answered Nov 06 '22 04:11

peterdn