I have upgraded to Grafana version v8.4.2. The setup was done via helm and at first glance everything looks normal.
Now I am faced with the challenge of setting up an Elasticsearch DataSource. However, when testing the new DataSource, only the red exclamation mark appears and the log contains the following entry:
grafana logger=data-proxy-log userId=1 orgId=1 uname=admin path=/api/datasources/proxy/4/<index>/_mapping remote_addr=<ip> referer=<grafana-url)/datasources/edit/2afowLynk t=2022-04-04T08:07:17.54+0000 lvl=eror msg="Data proxy error" error="http: proxy error: Forbidden"
As a side note, only the Grafana Pod can connect to the DataSource and not my client (browser).
Maybe this is the reason for the error code 502, because the rerferer parameter in the request uses the external addresses of Grafana.
Is it possible to assign an internal address to Grafana, so that the DataProxy communicates with the other data sources via this address or can it be set per DataSource as header or what ever?
Regards,
Manuel