Logstash “Elasticsearch” output plugin support for client certificates? -


in set have: dedicated filebeat , logstash instence per each application server; kibana , elasticsearch on single server.

i running logstash on each application server rather on separate machine because implement role based access different logstash pipelines using pki realm within elasticsearch configuration.

however in order achieve need logstash able authenticate client certificate.

this trouble comes: can't seem figure out how configure output filter force logstash use client cert. i've checked documentation elasticsearch output plugin , talks server certificate either cacert or java truststore/keystore.

has tried using mutual authentication between elasticsearch node , logstash server? surprised perhaps elasticsearch output plugin doesn't support while other pluggins (http) offer support client certificates..

here's current config logstash:

input {   beats {    port => 5044    type => "log"    host => "0.0.0.0"    ssl => true    ssl_certificate_authorities => [ "c:/program files/filebeat-5.5.2/certs/ca.crt" ]    ssl_certificate => "c:/program files/filebeat-5.5.2/certs/logstash-server.crt"    ssl_key => "c:/program files/filebeat-5.5.2/certs/logstash-server.p8"    ssl_verify_mode => "force_peer"   } }   output {   stdout { codec => rubydebug  } elasticsearch {     hosts => [ "https://xxxxxx:9200" ]     user => "xxxxx"     password => "xxxxxx"     ssl => true     cacert => "c:/program files/filebeat-5.5.2/certs/ca.crt"     manage_template => false     index => "%{[@metadata][beat]}-%{+yyyy.mm.dd}"     document_type => "%{[@metadata][type]}"   } } 

thanks lot!

--boz


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -