skew() function

The skew() function outputs the skew of non-null records as a float.

Function type: Aggregate
Output data type: Float

skew(columns: ["_value"])

Parameters

columns

Specifies a list of columns on which to operate. Defaults to ["_value"].

Data type: Array of strings

Examples

from(bucket: "telegraf/autogen")
  |> range(start: -5m)
  |> filter(fn: (r) =>
    r._measurement == "cpu" AND
    r._field == "usage_system"
  )
  |> skew()

This documentation is open source. See a typo? Please, open an issue.


Need help getting up and running? Get Support