Page 1 of 1

Encrypt logs

Posted: Tue Sep 13, 2016 8:06 am
by kporta
Is there a way to encrypt the delivery of the logs to Nagios Log Server?

I have seen articles about configuring SSL connections to the Nagios Log server, but don't think that applies.

Thank you
Kurt

Re: Encrypt logs

Posted: Tue Sep 13, 2016 9:12 am
by eloyd
If I were to do this on our server(s), I'd likely look into stunnel (https://www.stunnel.org/index.html)

Re: Encrypt logs

Posted: Tue Sep 13, 2016 9:41 am
by mcapra
kporta wrote:I have seen articles about configuring SSL connections to the Nagios Log server, but don't think that applies.
Correct; That will not actually encrypt the log traffic.

This was something I played around with a bit but never got very far with. @eloyd's suggestion is the easiest way since it's not going to interact directly with what NLS does on the back-end.

You could also look into Shield which is an official Logstash plugin for tackling the task of encryption:
https://www.elastic.co/guide/en/shield/ ... stash.html

Re: Encrypt logs

Posted: Wed Sep 14, 2016 9:59 am
by kporta
Thanks for the quick replies - I'll check out both of those suggestions!

--Kurt

Re: Encrypt logs

Posted: Wed Sep 14, 2016 10:18 am
by mcapra
Sure thing! Let us know if you have additional questions regarding this topic.