influxdata / influxdata/influxdb
Connecting to Grafana - InfluxDB Error: Bad Request
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Hi,
I am trying to view Influxdb2 data in Grafana. I use a python script to upload data into influxdb. This is confirmed to be working:

Influxdb is running on the IP shown in the image above. When I try to connect Grafana I get the error `IInfluxDB Error: Bad Request`
Following the steps in the [documentation](https://docs.influxdata.com/influxdb/v2.0/tools/grafana/) the url I input into grafana is the same one as in the image above.

The rest of the config is shown in the image below. Both passwords are the admin token and the database is my bucket ID.

Has anyone managed to get a minimum example working between Grafana and Influxdb2 or is there an obvious step I'm missing?
* System info: Linux 5.4.0-65-generic x86_64
* InfluxDB version: 2.0.4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked InfluxDB 2.0 Grafana documentation and compare it with the URL, token, and bucket settings shown in the issue screenshots. Reproduce the connection using the reported Linux and InfluxDB 2.0 context; done means identifying the missing configuration or providing a confirmed minimum working setup. حالت
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- databases, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100