问题
Is it possible to INSERT
data into series / measurements using the SQL-like interface on InfluxDB?
回答1:
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
.
来源:https://stackoverflow.com/questions/47447511/how-do-you-insert-into-influxdb-using-the-sql-like-interface