Posts

Showing posts with the label Rsysnc Server

Configure Remote Logging with Rsyslog

Configure Remote Logging with Rsyslog Introduction A Linux host running  rsyslog  can send all or individual logs to another  rsyslog  host over a TCP or UDP connection. This is necessary to preserve the integrity of the log files if the host is ever compromised or provide a centralized location for managing the log files. Requirements Red Hat Enterprise Linux (RHEL) or Debian based distributions (CentOS, Fedora, Ubuntu, etc) Logging server node Logging client node Install Rsyslog Rsyslog will already likely be installed on most popular distributions. In the event  rsyslog  is missing, it can be install with YUM on CentOS and RHEL. yum -y install rsyslog Or  rsyslog  can be installed on Ubuntu or Debian with  apt-get . apt-get -y install rsyslog Configure Logging Server First log into the rsyslog host that will receiving the logs. Edit the  /etc/rsyslog.conf  file and uncomment the two lines relating to th...

Setup Centralized Rsyslog Server On CentOS 7

Setup Centralized Rsyslog Server On CentOS 7 This tutorial describes how to setup centralized Rsyslog server on CentOS 7 to manage the logs of your client systems from a common place. You don’t have to visit the client systems when you want to check the log files of your client systems. This can be useful if you have large number of systems on your network and want to do the log management from a centralized dedicated log server. For the purpose of this guide, I will be using two systems, one acts as rsyslog server, and other acts as client. The following are the details of my test boxes. Rsyslog Server: OS:   CentOS 7 minimal edition IP address:   192.168.43.150/24 Hostname:   logserver.ostechnix.local Client system: OS:   CentOS 7 minimal edition IP Address:   192.168.43.151 First, let us setup Ryslog server. Setup Centralized Rsyslog Server On CentOS 7 This guide was tested with CentOS 7 minimal server edition. However, it should work...