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

InfluxDB’s Checks and Notifications System
InfluxDB 2.0’s Checks and Notifications system is likely the most powerful and flexible system available for creating alerts based on time series data. To get the most out of the system, it is helpful to understand the different pieces and how they fit together. After reading this article, you should ...
TL;DR InfluxDB Tech Tips: Configuring a Slack Notification with InfluxDB
With InfluxDB you can create notifications to make the most out of your alerts. Notifications enable you to send check statuses to the endpoint of your choice. In this TL;DR we set up a Slack Notification Rule and Endpoint through the InfluxDB UI. Notifications Endpoint Options This TL;DR assumes that ...


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