csv.from() function is experimental and subject to change at any time.
By using this function, you accept the risks of experimental functions.
csv.from() function retrieves annotated CSV from a URL.
csv.from() function is an alternative to the standard
Function type: Input
import "experimental/csv" csv.from(url: "http://localhost:8086/")
The URL to retrieve annotated CSV from.
Data type: String
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")
package csv import c "csv" import "experimental/http" from = (url) => c.from(csv: string(v: http.get(url: url).body))
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, the following resources are available:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.