Not able to connect to Amazon ES service via logstash on amazon EC2 instance

Hi,
I am trying to connect to amazon elastic service via logstash installed on EC2.

I am able to make input and output requests in general but using elastic service i am not able to connect to the service.

Access policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::accountid:user/logstash_publisher"
},
"Action": [
"es:ESHttpGet",
"es:ESHttpPut",
"es:ESHttpPost",
"es:ESHttpHead"
],
"Resource": "arn:aws:es:us-east-2:accountid:domain/elk1214/"
},
{
"Effect": "Allow",
"Principal": {
"AWS": "
"
},
"Action": [
"es:ESHttpGet",
"es:ESHttpPut",
"es:ESHttpPost",
"es:ESHttpHead"
],
"Resource": "arn:aws:es:us-east-2:accountid:domain/elk1214/*",
"Condition" : {
"IpAddress": {
"aws:sourceIp": [
"192.168.1.1",
"127.0.0.1",
"myip"
]
}
}
}
]
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.