4 ms·
Thats exactly what i was doing with the elasticsearch plugin for logstash, but i still couldent figure out how to auth vanilla http requests to it from kibana o
by willejs 10y ago
Thats exactly what i was doing with the elasticsearch plugin for logstash, but i still couldent figure out how to auth vanilla http requests to it from kibana or the like... Then i decided id wasted way too much time on this, and would just build it myself. Other services such as bonzai support basic auth which i would have almost preferred :/
- steeef 10y agoI was able to use the code mentioned in this AWS forum post to configure a proxy using node.js: https://forums.aws.amazon.com/thread.jspa?threadID=218214 https://forums.aws.amazon.com/thread.jspa?threadID=218214 Code: https://gist.github.com/nakedible-p/ad95dfb1c16e75af1ad5 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 https://github.com/santthosh/aws-es-kibana
- simonvdv 10y agoWe're using this logstash output plugin at the moment https://github.com/awslabs/logstash-output-amazon_es https://github.com/awslabs/logstash-output-amazon_es together with the instance profile based permission it works as it should. 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.