Logstash pipe elasticsearch through ssl? -
Logstash pipe elasticsearch through ssl? -
i'm not sure if possible - i'm pretty new using logstash (watched talk few weeks , started toying today). problem this:
i have several machines out on big, bad net need ship logs home. have elasticsearch setup behind nginx reverse proxy that's going handle ssl me on central log point.
but client machines as400 beasts, can't fun run logstashforwarder (lumberjack) on them. given i've seen of logstash, think might possible this:
(most inputs) --> elasticsearch output --> <something> --> https output --> (scary internet) --> nginx --> elasticsearch
would work? , if so, how that?
what appears work using logstash forwarder protocol. have on central logserver logstash instance running so:
$ bin/logstash -e 'input { lumberjack {port => 7766 ssl_certificate => "my.crt" ssl_key => "my.key"} } output { elasticsearch { host => localhost } }'
and on remote machines can have logstash instance running looks little this:
$ bin/logstash -e 'input { stdin{} } output { stdout{} lumberjack { hosts => ["localhost"] port => 7766 ssl_certificate => "my.crt" }}'
i'll have verify traffic beingness encrypted, looks though should be.
logstash
Comments
Post a Comment