Data Format

measurement, tag-key=tag-value,tag-key2=tag-value2    field1-key=field1-value

Measurement acts like a TableName

Tags are key-value pairs used to store metadata and index the data.

Sample Data

INSERT cpu,host=serverA ,region=us_west value=0.64

measurement: cpu

host & region: tags

Value is the field

InfluxDB 1. x follows SQL like Syntax

InfluxDB 2. x follows FLUX query language.

Influx 1.x

create database homeoffice;

show databases;

use homeoffice;

show measurements;

Authentication Not Necessary

Authentication is optional

Why? Not all devices have that capability.

If needed, it can be enabled in the configuration file.

Last updated