InfluxDB and Flux
Query and code together with Flux — a powerful language from the makers of InfluxDB that allows developers to gain insights across time.
What is Flux?
Flux lang is a functional data scripting language designed for querying, processing, writing, analyzing, and acting on data from InfluxDB and many other sources like SQL Databases (Big Query, PostgreSQL, MS SQL Server), annotated CSVs, JSON, and Bigtable.
The purpose of Flux
“Flux is much more flexible because it is not just a query language... The ability to combine data from different sources is great.”
Dr. Angelo Fausti, Software Engineer, Vera C. Rubin Observatory
Why use Flux?
Flux lang is easy to learn with excellent readability making it comfortable to be productive. It has a command line interface and a web-based UI for point-and-click script building. As Flux is a composable language, developers can chain together functions or build custom functions that work specifically for bespoke applications.
In addition, since Flux queries are code, they can be tested and checked into source control systems, be tested in isolation, or for complex queries, be built from separately tested sub-components. Finally, Flux allows developers to work in their preferred method.
Schedule Flux scripts to transform streams of data, write it back to InfluxDB, or trigger other actions. Some popular tasks include downsampling or sending alerts when thresholds are hit or Edge Data Replication.
Data from anywhere
InfluxDB supports querying, joining, and transforming time series, geo location and data from your SQL data sources to help you gain the insights you need in your applications.
This article was originally published in The New Stack and is reposted here with permission. EDR enables developers to use the full capabilities of InfluxDB at the edge. Developers also can use that same data in the cloud for different purposes....
Access training for time series app developers.
Our awards recognize the contributions of our developer community.