【发布时间】:2016-03-01 21:23:56
【问题描述】:
根据亚马逊文档,AWS elasticsearch Service 支持 API _cluster,但是这个命令不起作用:
curl -XGET 'https://search-aa-kfrqt6kjja5w7asrt7hi.sa-east-1.es.amazonaws.com/_cluster/state?pretty'
{"Message":"Your request: '/_cluster/state' is not allowed."}
具有模板“允许对此域的开放访问”的集群
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "es:*",
"Resource": "arn:aws:es:sa-east-1:7183736:domain/aa-ca/*"
}
]
}
感谢您提供的任何帮助!
【问题讨论】:
标签: amazon-web-services elasticsearch