I’m new to Grafana and InfluxDB2.0 and I’m trying to connect my InfluxDB to my Grafana, however I’m facing the error: “Error reading InfluxDB”:
What am I doing wrong? I filled in the parameters like this:
Basic Auth Details → User & Password → My login credentials to the InfluxDB2.0 GUI.
InfluxDB Details → Organization → Part of the url, such as:
“296a21e66c3ab5ca” is the Organization
InfluxDB Details → Token-> Token I’ve created to read/write data.
InfluxDB Details → Default Bucket-> The ID of this bucket:
What am I missing or doing wrong? Please let me know! Thanks in advance!
Perhaps the most recent post on this lengthy topic will help you?
Okay i found two solution. First one this:
You can use it if you keep using InfluxQL
If you want to use Flux here is my configuration
Query Language: Flux
Acces: Server (default)
Whitelisted coockies: (don't touch)
Custom HTTP Headers
Value: Token aaabbbcccc
(the aaabbbccc is the token you find in Data > Tokens admin's Token, I think it is possible to create another member to secure the acces)
Organization: the_name OR th…
just a thing to add,
When you use InfluxQL and in Database you name the same as name of your data source( influx ) in your case. it doesnt work when you import a dashboard for example id :8451 dashboard to visualize system metrics.