-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Teach elasticsearch_http
-output about HTTPS
#1393
Conversation
There sure is interest! |
I am in favor of this change myself and given the popularity and demand for SSL, we should do this. elasticsearch_http is being deprecated in favor of the elasticsearch plugin when used with Can we add this to the elasticsearch plugin instead? I have specific comments other than the move to elasticsearch
|
I'm pretty new to logstash, if the elasticsearch plugin is the way to go, I'm totally fine with it :) If the elasticsearch plugin supports multiple protocols and each of them may support SSL/TLS then maybe I'm also absolutely +1 for supporting client certificates. |
+1 we could use the same ssl options as the tcp input ? |
@colinsurprenant it feels weird having settings that are only valid under certain conditions. Settings from tcp:
|
Proposed settings:
Not sure:
|
or make it possible to get setting from an environment variable? |
Passing in the passphrase from an env var? I'm open to that, but that still provides a vector for leaking the passphrase ( |
true. not sure what the best practices are for passing a password to an app other what having a prompt at startup - which in LS case would not be very practical. |
Related: elastic/elasticsearch-ruby#80 |
Can one of the admins verify this patch? |
f86287d
to
a536eef
Compare
@jordansissel the initial issue of supporting https with elasticsearch output |
@alexbrasetvik we 've added https suport to elasticsearch support. https://github.com/logstash-plugins/logstash-output-elasticsearch |
While this change is fairly simple, there is an issue with FTW and/or the flushing that causes it to lock up when more than
flush_size
events are queued. That issue should probably be fixed before this one is merged.