A Table of Measure
Basic Filtering
The range clause allows to filter by time creating a time windodw The filter clause reduces the ammount of records and can be applied on the measurements, fields, tags, and field/tag keys. Functions
Aggregation
Flux aggregate functions are transformations aggregate values from input tables in some way. Selector
Flux selector functions are transformations that return one or more record per input table. Conditional Expressions
Conditional expressions evaluate a boolean-valued condition. If the result is true, the expression that follows the then keyword is evaluated and returned. |
Line ProtocolAdvanced Windowing
aggregateWindow() downsamples data by grouping data into fixed windows of time and applying an aggregate or selector function to each window. NOTE The flag can be used to consider only the windows that contains data (its default value is )Map and Custom Functions
Note the clause maintains alla the original columns and adds the new one.Custom pipe forwardable function
Most Flux functions manipulate data piped-forward into the function. In order for a custom function to process piped-forward data, one of the function parameters must capture the input tables using the pipe-receive expression.Joins
The join() function merges two or more input streams, whose values are equal on a set of common columns, into a single output stream. |
Cheatography
https://cheatography.com
FluxLang 101 Cheat Sheet by rictomm
The basic functionalities of Flux Language
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets