skew() function

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

*Function type: Aggregate
**
Output data type:* Float

  1. skew(column: "_value")

Parameters

column

The column on which to operate. Defaults to "_value".

*Data type: String*

Examples

  1. from(bucket: "example-bucket")
  2. |> range(start: -5m)
  3. |> filter(fn: (r) =>
  4. r._measurement == "cpu" and
  5. r._field == "usage_system"
  6. )
  7. |> skew()