Documentation

csv.from() function

The csv.from() function is experimental and subject to change at any time. By using this function, you accept the risks of experimental functions.

The experimental csv.from() function retrieves annotated CSV from a URL.

The experimental csv.from() function is an alternative to the standard csv.from() function.

import "experimental/csv"

csv.from(url: "http://localhost:8086/")

Parameters

url

The URL to retrieve annotated CSV from.

Examples

Query annotated CSV data from a remote URL
import "experimental/csv"

csv.from(url: "http://example.com/csv/example.csv")
    |> filter(fn: (r) => r._measurement == "example-measurement")

Was this page helpful?

Thank you for your feedback!


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.