query.filterMeasurement() function is experimental and subject to change at any time.
By using this function, you accept the risks of experimental functions.
query.filterMeasurement() function filters input data by measurement.
Function type: Transformation
import "experimental/query" query.filterMeasurement( measurement: "example-measurement" )
The name of the measurement to filter by. Must be an exact string match.
Data type: String
import "experimental/query" query.fromRange(bucket: "example-bucket", start: -1h) |> query.filterMeasurement( measurement: "example-measurement" )
package query filterMeasurement = (tables=<-, measurement) => tables |> filter(fn: (r) => r._measurement == measurement)
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support or submit feedback, the following resources are available:
- Post in the InfluxData Community.
- Submit documentation issues to the InfluxDB 2.0 documentation repository.
- Submit InfluxDB issues to the InfluxDB repository.
For our InfluxDB Cloud customers, InfluxData Support is also available.