tickscript.groupBy() function

The tickscript.groupBy() function is a user-contributed function maintained by the package author and can be updated or removed at any time.

The tickscript.groupBy() function groups results by the _measurement column and other specified columns.

This function is comparable to Kapacitor QueryNode .groupBy.

To group by intervals of time, use window() or tickscript.selectWindow().

import "contrib/bonitoo-io/tickscript"

  columns: ["exampleColumn"]



(Required) List of columns to group by.

Data type: Array of Strings


Group by host and region
import "contrib/bonitoo-io/tickscript"

  |> tickscript.groupBy(
    columns: ["host", "region"]

Package author and maintainer

Github: @bonitoo-io, @alespour
InfluxDB Slack: @Ales Pour

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: