You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to send logs from one logstash instance to another instance using http output plugin and http input plugin.
I am able to to it with following configuration:
Can you please share the http input plugin configurations?
I verified the certificates with openssl, they are working correctly but I guess I am not configuring them correctly in the http input + output plugin.
I am trying to send logs from one logstash instance to another instance using http output plugin and http input plugin.
I am able to to it with following configuration:
(Sending Instance) output { http { url => "http://x.x.x.x:5044" http_method => "post" } }
(Receiving Instance) input { http { id => "my_plugin_id" host => "0.0.0.0" port => 5044 } }
But when I try to setup 1-way SSL for the above communication with the following configuration:
output { http { url => "https://x.x.x.x:5044" http_method => "post" cacert => "/**/ca_cert.pem" } }
or
output { http { url => "https://x.x.x.x:5044" http_method => "post" truststore => "//truststore.jks" truststore_password => "*" } }
ca_cert.pem is the CA used to sign the certificate for the receiving instance
input { http { id => "my_plugin_id" host => "0.0.0.0" port => 5044 ssl => true keystore => "//truststore.jks" keystore_password => "*" } }
Error received-> Could not fetch URL {:url=>"https://x.x.x.x:5044", ---- :headers=>{"Content-Type"=>"application/json"}, :message=>"SSL peer shut down incorrectly", :class=>"Manticore::ClientProtocolException", :backtrace=>nil, :will_retry=>true}
Looks like the configuration in http output plugin is not taking effect ( cacert, truststore, truststore_password).
The text was updated successfully, but these errors were encountered: