Remote Syslog

Jon Irish

New Member
Aug 1, 2018
12
0
1
55
I would like to send all of my ProxMox syslog messages to an external Splunk server. However, I have not been able to locate an option to forward syslog within the ProxMox GUI. A Google search did not have any results. I did see something for the mail gateway, but those settings don't appear to apply to VE. Is this simply setting up the syslog configuration of the underlying OS (Debian) to forward syslog?

Thanks,
Jon
 

macleod

Active Member
Aug 3, 2017
64
7
28
44
Actually there is an even better method to forward the logs: relp-tls. You have encryption but also reliability. Works perfectly with rsyslogd.
Now I'm trying to understand where are all specific logs for proxmox, in order to verify that all that logs are correctly forwarded.
 
Last edited:

RobFantini

Renowned Member
May 24, 2012
1,950
80
68
Boston,Mass
is there a Debian package for relp-tls ? I just searched and did not find using that word. We just happen to be converting to use rsyslog-gnutls and almost have that figured out.... so if what you mention is easier we'll test it out.
 

macleod

Active Member
Aug 3, 2017
64
7
28
44
These are the packages needed for relp-tls (versions for debian 10).
rsyslog 8.1901.0-1
rsyslog-gnutls 8.1901.0-1
rsyslog-relp 8.1901.0-1

And to understand better, it's about using rsyslog relp protocol over a gnu-tls connection (in newer version you can use also openssl, not just gnutls).
It's not easier (but also not very harder), if you already had added the tls option relp will be "a piece of cake" :p

A very good article about how to implement everything is:
https://selivan.github.io/2017/02/0...save-filename-handle-multi-line-failover.html
 
  • Like
Reactions: guletz

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!