我在为基于专有网络的aws elasticsearch示例运行ElasticSearchExporter(prometheus)时遇到以下问题。如果有人知道可能是什么问题,你会很感激吗?
[elasticsearch-exporter-5558555bbf-blzhn elasticsearch exporter]level=error ts=2020-09-02t15:56:20.134343455z caller=clusterinfo.go:174 msg=“未能从es检索群集信息”err=“http请求失败,代码403”[elasticsearch-exporter-55555bbf-blzhn elasticsearch exporter]level=debug ts=2020-09-02t15:56:20.13437932zcaller=clusterinfo.go:120 msg=“更新群集信息度量”
{“version”:“2012-10-17”,“statement”:[{“effect”:“allow”,“principal”:{“aws”:[”arn:aws:iam::awsaccount:role/role1”, "arn:aws:iam::awsaccount:role/role2“]},”action“:[”es:eshttphead“,”es:listdomainnames“,”es:descripbeelasticsearchdomain“,”es:eshtppost“,”es:eshttpget“,”es:eshtppatch“,”es:descripbeelasticsearchdomains“,“es:eshttpdelete”,“es:eshtpput”],“资源”:arn:aws:es:us-east-1:awsaccount:domain/domain/*” } ] }
暂无答案!
目前还没有任何答案,快来回答吧!