Query and code together with Flux

A powerful language from the makers of InfluxDB that allows developers to see across time.

What is Flux?

Flux is a standalone data scripting and query language that increases productivity and code reuse.

Flux is optimized for ETL, monitoring, and alerting, with an inline planner and optimizer.

Flux is the result of the open source community driving innovation with time series data.

Influx

Why use Flux?

  • 001-triangle-hl

    Flux is fun:

    Flux is easy to learn and highly productive, with great readability. Flux has a command line interface and a web-based UI for point-and-click scripts.

  • Flux-fullW-hl-2

    Flux is productive:

    Flux is composable. Developers can build on top of the language for specific use cases. You can include other Flux modules in the code and contribute new functions to the platform.

    Since Flux queries are code, they can be tested and checked into source control systems. Parts of queries can be tested in isolation, and complex queries can be built from separately tested sub-components.

  • dev-doc-hl-icon

    Flux supports multiple data sources:

    The ability to integrate with other systems is a core design feature of Flux. Integrate disparate data sources, including databases, third-party APIs or filesystems anywhere data lives.

  • network-hl

    Flux is extensible:

    New contributors of Flux functions and libraries can engage easily without knowing all the internals. Join our marketplace of industry-specific functions like dollar-cost averaging and dwell-time provisioning.

  • cloud-network-hl

    Flux lets you cross-compile:

    Work on top of Flux with other syntax like PromQL, InfluxQL, and others. Flux works on a single optimizer that plans against different sources.

  • data-hl

    Flux integrates with your tools:

    Flux plays nice with analytics tools and environments like Jupyter and uses the Apache Arrow data interchange format to speed integration with big data analytics systems.

    Learn more about the design goals of Flux and why it was developed in the first place.

Customer Feedback:

Vera C. Rubin Observatory

“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

TL;DR InfluxDB Tech Tips: Handling JSON Objects and Mapping Through Arrays
There are multiple ways to use Flux to bring in data from a variety of different sources including  SQL databases, other InfluxDB Cloud Accounts, Annotated CSV from a URL, and JSON.  However, previously you could only manually construct tables from a JSON object with Flux as described in this first ...
TL;DR InfluxDB Tech Tips: Converting InfluxQL Queries to Flux Queries
If you’re a 1.x user of InfluxDB, you’re most likely more familiar with InfluxQL than you are with Flux. To gain a deep understanding of Flux, it’s important to understand: The basics of the language Annotated CSV, the output format of Flux queries However, you can still use Flux without ...

DEEPER INSIGHTS WITH FLUX

The-Purpose-of-Flux The Purpose of Flux

Flux and InfluxDB Webinar: Flux and InfluxDB

code.talks 2019 — Using Cross-Measurement Math to Synthesize Sensor Data code.talks 2019 — Using Cross-Measurement Math to Synthesize Sensor Data

Introduction to Flux and Functional Data Scripting Introduction to Flux and Functional Data Scripting

Paul Dix Where Flux and InfluxDB Are Headed

Adam Anthony Extending Flux to Support Other Databases and Data Stores

Katy Farmer Creating and Using the Flux SQL Datasource

Scroll to Top