Flux function types and categories

Flux functions share a set of behaviors or traits that define how the function works. This types and categories lists below are not all-inclusive, but covers distinct and important function behaviors.

Function types


Flux input functions return data from data sources. The following input functions are available:


Flux output functions yield results or send data to a specified output destination. The following output functions are are available:


Flux transformations take a stream of tables as input, transform the data in some way, and output a stream of tables. Transformations cover a broad range of functions, but the following categorizations highlight important behaviors associated with specific transformation functions.

aggregateWindow helper function

The aggregateWindow() function windows or groups data by time and applies an aggregate or selector function to input tables. All aggregate and selector functions work with aggregateWindow().


Flux aggregate functions are transformations aggregate values from input tables in some way. Output tables contain a single row with the aggregated value. Aggregate transformations output a table for every input table they receive.

Each output table from an aggregate function will:

  • Contain a single record.
  • Have the same group key as the input table.
  • Contain the an aggregated column. The column label will be the same as the input table. The column data type depends on the specific aggregate operation. The value of the column will be null if the input table is empty or the input column has only null values.
  • Drop all columns that are:
    • not in the group key
    • not the aggregated column

The following aggregate functions are available:

Aggregate selectors

The following functions are both aggregates and selectors. Each returns n values after performing an aggregate operation. They are categorized as selector functions in this documentation:


Flux selector functions are transformations that return one or more record per input table.

Each output table from a selector function will:

  • Contain one or more unmodified records.
  • Have the same group key as the input table.

The following selector functions are available:

Selectors and aggregates

The following functions can be used as both selectors or aggregates, but they are categorized as aggregate functions in this documentation:

Dynamic queries

Flux dynamic query functions extract a table from a stream of tables and access its columns and records. For recommended usage, see Extract scalar values.

Function categories

The following categories represent high-level function behaviors.


Filter functions iterate over and evaluate each input row to see if it matches specified conditions. Rows that do not match the specified conditions are dropped from the output. The following filter functions are available:

Type conversions

Flux type conversion functions convert scalar values or columns to a specific data type. The following type conversion functions are available:


Flux testing functions test various aspects of data. Tests return either true or false, a transformed stream of tables, or, upon failure, an error. The following testing functions are available:


Flux date/time functions return or operate on time or duration values. The following data/time functions are available:


Flux metadata functions return metadata from the input stream or from an underlying data source. The following metadata functions are available:

Notification endpoints

Flux notification endpoint functions send notifications to external endpoints or services. The following notification endpoint functions are available:


Flux geotemporal functions are designed to work with geotemporal data (geographic location over time). The following geotemporal functions are available:

Was this page helpful?

Thank you for your feedback!

Linux Package Signing Key Rotation

All signed InfluxData Linux packages have been resigned with an updated key. If using Linux, you may need to update your package configuration to continue to download and verify InfluxData software packages.

For more information, see the Linux Package Signing Key Rotation blog post.

State of the InfluxDB Cloud (IOx) documentation

The new documentation for InfluxDB Cloud backed by InfluxDB IOx is a work in progress. We are adding new information and content almost daily. Thank you for your patience!

If there is specific information you’re looking for, please submit a documentation issue.