by simonvdv · 10y ago · 0 comments
We did get it to work in a useable manner by having the ES policy apply to a role (i.e. the principal is a role). If you than apply that role to your instances it will work for with instance profile based auth.
Code: https://gist.github.com/nakedible-p/ad95dfb1c16e75af1ad5
Looks like it's been turned into an NPM-installable module too: https://github.com/santthosh/aws-es-kibana
We are considering switching to the normal logstash-output-es plugin together with a AWS v4 auth signing proxy to make the setup more portable/less tied to AWS. I have a basic signing proxy setup working based on nginx/openresty. If you're interested just let me know.