InfluxDB syntaxes
InfluxDB uses a handful of languages and syntaxes to perform tasks such as writing, querying, processing, and deleting data. The following articles provide information about the different syntaxes used with InfluxDB and the contexts in which they’re used:
Flux
Flux is a functional data scripting language designed for querying, analyzing, and acting on data.
Line protocol
InfluxDB uses line protocol to write data points. It is a text-based format that provides the measurement, tag set, field set, and timestamp of a data point.
Annotated CSV
InfluxDB and Flux return query results in annotated CSV format. You can also read annotated CSV directly from Flux with the csv.from()
function, write data to InfluxDB using annotated CSV and the influx write
command, or upload a CSV file in the UI.
Delete predicate
InfluxDB uses an InfluxQL-like predicate syntax to determine what data points to delete.