Run the INSERT INTO statement to insert the data in the DLI table to the associated OpenTSDB metric.
If no metric exists on the OpenTSDB, a new metric is automatically created on the OpenTSDB when data is inserted.
1 | INSERT INTO TABLE TABLE_NAME SELECT * FROM DLI_TABLE; |
1 | INSERT INTO TABLE TABLE_NAME VALUES(XXX); |
Parameter |
Description |
---|---|
TABLE_NAME |
Name of the associated OpenTSDB table. |
DLI_TABLE |
Name of the DLI table created. |
1 | INSERT INTO TABLE opentsdb_table VALUES('xxx','xxx','2018-05-03 00:00:00',21); |