1.4 KiB
CSV Import
Grafana
In Grafana there is a csv-datasrouce plugin. This plug let you visualize data from any URL that returns CSV data, such as REST APIs or static file servers. You can even load data from a local file path. But it is not importing CSV from Grafana into a data source (like InfluxDB).
For visualizing CSV data this is enough. Why should you duplicate data if the true data source is a CSV file.
So I added this plugin to our Grafana installation.
I just mounted the whole Grafana directory into our Docker-Compose setup. Maybe we have to come up with a better solution.
Garafana is running on localhost on port 3000 with credentials admin:admin. So let's get there to add the CSV data source.
I also added the CSV file to this repository and mounted the whole whole Grafana directory into our Docker-Compose setup. So the CSV file is also in, there. Maybe we have to come up with a better solution..
As the CSV is reachable by Grafana, you can crate a data source, there.
grafana.ini is also mounted from this repository. So local data mode is enabled.
Whith Grafana having access to data in the CSV file, it's easy to access this data to create a dashboard.