Documentation

skew() function

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

Function type: Aggregate
Output data type: Float

skew(column: "_value")

Parameters

column

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

Data type: String

Examples

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

New! Cloud or OSS?

InfluxDB OSS 2.0 now generally available!

InfluxDB OSS 2.0 is now generally available and ready for production use. See the InfluxDB OSS 2.0 release notes.

For information about upgrading to InfluxDB OSS 2.0, see: