i am trying to connect from Grafana (in other cloud) --> Azure LogAnalytic ( in Azure China )
what i did:
create App Registration in Azure China, assign the LogAnalytic “Log Analytic reader” role to the App Registration i created.
However got the error: Azure Log Analytics: Bad Gateway: Cannot connect to Azure Log Analytics REST API. Not able to load the subscription of the LogAnalytic workspace.
from Grafana log, we found the error:
t=2020-05-20T07:46:14+0000 lvl=eror msg=“Data proxy error” logger=data-proxy-log userId=0 orgId=1 uname= path=/api/datasources/proxy/4/chinaazuremonitor/subscriptions remote_addr=xx.x.x.xx referer=http://xx.xxx.xx.xx/grafana/datasources/edit/4/ error=“http: proxy error: proxyconnect tcp: dial tcp xx.xx.xxx.xx:3128: i/o timeout”
t=2020-05-20T07:46:14+0000 lvl=eror msg=“Failed to get access token” logger=data-proxy-log error=“Post “https://login.chinacloudapi.cn/xxxxxxx-ca13-4bcb-840d-xxxxxxxxxxxxx/oauth2/token”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)”
if need to perform firewall clearance, how do i get the necessary url from Azure China ?
thanks in advance.