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

Ryan The Leach picture Ryan The Leach · Nov 23, 2017 · Viewed 12.8k times · Source

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

Answer

peterdn picture peterdn · Nov 23, 2017

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.