Aggregate Logs from Remote Sites
Integrate collocated and other remote systems or networks into your central syslog infrastructure.
Monitoring the logs of a remote site or just a collocated server can often be overlooked when faced with the task of monitoring activity on your local network. You could use the traditional syslog facilities to send logging information from the remote network or systems, but since the syslog daemon uses UDP for sending to remote systems, this is not the ideal solution. UDP provides no reliability in its communications, and so you risk losing logging information. In addition, the traditional syslog daemon has no means to encrypt the traffic that it sends, so your logs might being viewable by anyone with access to the intermediary networks between you and your remote hosts or networks.
To get
around these issues, you’ll have to look beyond the
syslog daemon that comes with your operating system and find a
replacement. One such replacement
syslog daemon is syslog-ng
(http://www.balabit.com/products/syslog_ng/). syslog-ng is not only a
fully functional replacement for the traditional syslog daemon, but
also adds flexible message filtering capabilities, as well as support
for logging to remote systems over
TCP (in addition to support for the
traditional UDP protocol). With the
addition of TCP support, you can also employ stunnel
or ssh to securely send the logs
across untrusted networks.
To build syslog-ng, you will need the
libol
library package ( ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access