README.md in fluent-plugin-aws-elasticsearch-service-0.1.6 vs README.md in fluent-plugin-aws-elasticsearch-service-0.1.7.pre.alpha
- old
+ new
@@ -88,11 +88,11 @@
```ruby
<endpoint>
url https://CLUSTER_ENDPOINT_URL
region eu-west-1
- assume_role_arn arn:aws:sts::ACCOUNT:assumed-role/ROLE
+ assume_role_arn arn:aws:sts::ACCOUNT:role/ROLE
assume_role_session_name SESSION_ID # Defaults to fluentd if omitted
</endpoint>
```
The policy attached to your AWS Elasticsearch cluster then becomes something like:
@@ -123,9 +123,17 @@
"Action": "sts:AssumeRole",
"Resource": "arn:aws:iam::ACCOUNT:role/ROLE"
}
}
```
+
+## Troubleshooting
+
+* "Elasticsearch::Transport::Transport::Errors::Forbidden" error="[403]" even after verifying the access keys/roles/policies.
+ * Ensure you don't have a trailing slash on the endpoint URL in your fluentd configuration file (see CLUSTER_ENDPOINT_URL above).
+
+* "ElasticsearchIllegalArgumentException[explicit index in bulk is not allowed]"
+ * Check that `rest.action.multi.allow_explicit` is set true on your Amazon ES domain (verify in the console - there's a bug in Terraform, https://github.com/hashicorp/terraform/issues/3980).
## Development
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.