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.
InfluxQL
InfluxQL is an SQL-like query language for interacting with data in InfluxDB.
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.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.