Open songhaisheng98 opened 1 month ago
@songhaisheng98 For security reasons, InfluxDB restricts file system access at query time, so you can't use csv.from()
to load CSV data from a file on disk using the InfluxDB UI. You can do it in the Flux REPL, which does allow access to the underlying filesystem. When using the Flux REPL, the Flux process runs independently from InfluxDB and is not limited by that restriction.
Another option would be to retrieve the CSV data using an HTTP request, formatting the response as a string, then using the CSV string with csv.from()
to load the CSV data. The CSV file just needs to be made available via HTTP.
load a csv file by csv.from failed
Through InfluxDB UI ,
Through postman
how to upload csv file by csv.from()?