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.

Why use Flux?

  • atomic-icon-01

    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-lang-icon-01

    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-01-1

    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.

  • simple circle-icon-01

    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.

  • multycloud-01

    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.

  • pasle pink-01

    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

Using the New Flux Usage API to Calculate Pricing for InfluxDB Cloud
InfluxDB Cloud offers a transparent usage-based pricing model that only charges users on the work performed, with no minimums or long-term commitments. This puts YOU in charge of what you spend. However, with four separate pricing vectors, it’s not always easy to see exactly where that cost is going, or ...
TL;DR InfluxDB Tech Tips – Optimizing Flux Performance in InfluxDB Cloud
So you’re using InfluxDB Cloud and you’re taking full advantage of Flux to create custom data processing tasks, checks, and notifications. However, you notice that some of your Flux scripts aren’t executing as quickly as you expect. In this post, we’ll learn about best practices and tools for optimizing 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