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

This documentation is open source. See a typo? Please, open an issue.


Need help getting up and running? Get Support