Encrypt logs

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
kporta
Posts: 16
Joined: Mon Jun 02, 2014 9:22 am

Encrypt logs

Post 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
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Encrypt logs

Post by eloyd »

If I were to do this on our server(s), I'd likely look into stunnel (https://www.stunnel.org/index.html)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Encrypt logs

Post 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
Former Nagios employee
https://www.mcapra.com/
kporta
Posts: 16
Joined: Mon Jun 02, 2014 9:22 am

Re: Encrypt logs

Post by kporta »

Thanks for the quick replies - I'll check out both of those suggestions!

--Kurt
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Encrypt logs

Post by mcapra »

Sure thing! Let us know if you have additional questions regarding this topic.
Former Nagios employee
https://www.mcapra.com/
Locked