Help with InfluxDB 1.8.4 Flux Query and Grafana

  • What Grafana version and what operating system are you using?

Grafana v8.2.5 (b57a137acd)

  • What are you trying to achieve?

Connect InfluxDB Flux Database to Grafana

  • How are you trying to achieve it?

Auth is off
token=root:root //user:pass

  • What happened?

Error reading InfluxDB.

  • What did you expect to happen?

Successfully connected to database.

  • Can you copy/paste the configuration(s) that you are having problems with?

relevent InfluxDB config.yml

  enabled = true
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

Grafana log when clicking the save and test button:
t=2021-11-29T07:09:09-0800 lvl=warn msg="Flux query failed" logger=tsdb.influx_flux err="403 Forbidden: Flux query service disabled. Verify flux-enabled=true in the [http] section of the InfluxDB config.\n" query=buckets()

The exporter is successfully writing to the transmission database in flux to influxdb 1.8.4.

can you access your influxdb instance? It looks like you need to make some adjustments to that configuration…