1.1 KiB
1.1 KiB
title | seotitle | list_title | description | aliases | menu | weight | flux/v0.x/tags | introduced | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
csv.from() function | Experimental csv.from() function | csv.from() (experimental) | The experimental `csv.from()` function retrieves annotated CSV from a URL. |
|
|
401 |
|
0.64.0 |
The experimental csv.from()
function retrieves
[annotated CSV](/{{< latest "influxdb" >}}/reference/syntax/annotated-csv/) from a URL.
{{% note %}}
The experimental csv.from()
function is an alternative to the standard
csv.from()
function.
{{% /note %}}
{{< keep-url >}}
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")