Posts

Showing posts from July, 2017

step by step graylog remote source or client or host configuration

Image
Graylog Remote Source or Client or Host Configuration Step 1: Install rsyslog packages yum install rsyslog Step 2: Configure rsyslog using template : open file and add at the bottom vi /etc/rsyslog.conf ## For FQDN $PreserveFQDN on #### RULES #### # Log all kernel messages to the console. # Logging much else clutters up the screen. kern.*                                                 /dev/console # Log anything (except mail) of level info or higher. # Don't log private authentication messages! *.info;mail.none;authpriv.none;cron.none                /var/log/messages # The authpriv file has restricted access. authpriv.*                                              /var/log/secure # Log all the mail messages in one p...