Sending messages to Syslog

Syslog is a process that listens for messages from other applications and writes them to its log files, providing a common service to handle all logging activity. Messages can also be sent to a running instance of Syslog on a remote system acting as a centralized log server for your entire network. Apart from convenience, centralized logging can be useful for security reasons and also because it's harder for an attacker to cover their tracks when it's logged to a second system. In this recipe, you'll learn how to configure local and remote instances of Syslog to run your own log server.

Getting ready

This recipe requires two CentOS systems with working network connections. The recipe will refer to the first system as the ...

Get CentOS 7 Server Deployment Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.