The Flux standard library includes built-in functions and importable packages
that retrieve, transform, process, and output data.
View the full library of documented Flux functions.
universe package includes all functions that do not require a package import statement and are usable without any extra setup. Functions in the
universe package provide a foundation for working with data using Flux.
array package provides functions for building tables from Flux arrays. Import the
contrib package contains packages and functions that are contributed and maintained by members of the Flux and InfluxDB communities.
csv package provides functions for working with data in annotated CSV format. Import the
date package provides date and time constants and functions. Import the
dict package provides functions for interacting with dictionary types. Import the
The Flux experimental package includes experimental functions that perform various tasks. Experimental functions are subject to change at any time and are not recommended for production use.
generate package provides functions for generating data. Import the
http package provides functions for transferring data using the HTTP protocol. Import the
The influxdata package provides tools for working with InfluxData projects.
Packages influxdb package The Flux InfluxDB package provides functions for analyzing InfluxDB metadata. Import the influxdata/influxdb package.
interpolate package provides functions that insert rows for missing data at regular intervals and estimate values using different interpolation methods. Import the
json package provides functions for working with JSON. Import the
math package provides basic constants and mathematical functions. Import the
pagerduty package provides functions for sending data to PagerDuty. Import the
profiler package provides performance profiling tools for Flux queries and operations. Import the
pushbullet package provides functions for sending data to Pushbullet. Import the
regexp package includes functions for working with regular expressions. Import the
runtime package includes functions that provide information about the current Flux runtime. Import the
sampledata package provides functions that return basic sample datasets. Import the
slack package provides functions for sending data to Slack. Import the
sql package provides tools for working with data in SQL databases such as MySQL, PostgreSQL, Snowflake, SQLite, Microsoft SQL Server, Amazon Athena, Google BigQuery, and more. Import the
strings package provides functions to manipulate UTF-8 encoded strings. Import the
system package provides functions for reading values from the system. Import the
testing package provide functions for testing Flux operations. Import the
timezone package provide functions for timezones on the location option. Import the