Grafana Error: 414 Request-URI Too Large [How to Solve]

Grafana error 414
Network error request URI too large

 INFO[09-03|06:26:09] Request Completed                        logger=context userId=1 orgId=1 uname=admin method=GET path=/api/datasources/proxy/61/api/v1/query_range status=414 remote_addr=ip time_ms=8 size=169 referer="http://ip:3000/d/qu-QZdfZz/kafka-jmx-overview?orgId=1&refresh=1m&var-env=prod&var-broker_id=All&var-percentile=All&var-topic=All&from=now-15m&to=now"


Or add the domain name nginx configuration
client_header_buffer_size 512k;
large_client_header_buffers 4 512k; Or change the configuration of the data source to post request. The default is get

Because the error report is a background error report, you need to modify the data source request type

Read More: