Docs

v2.0

from() function

The from() function retrieves data from an InfluxDB data source. It returns a stream of tables from the specified bucket. Each unique series is contained within its own table. Each record in the table represents a single point in the series.

Function type: Input
Output data type: Object

from(bucket: "telegraf/autogen")

// OR

from(bucketID: "0261d8287f4d6000")

Parameters

bucket

The name of the bucket to query.

Data type: String

bucketID

The string-encoded ID of the bucket to query.

Data type: String

Examples

from(bucket: "telegraf/autogen")
from(bucketID: "0261d8287f4d6000")

FROM


Bug Reports and Feedback

Thank you for being willing to help test InfluxDB v2.0 alpha! Feedback and bug reports are welcome and encouraged both for InfluxDB and this documentation.

Submit feedback in the InfluxData Community