Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    RHEL 5 - Remote Syslog : How to configure IP/Host Based log files


    I have configured remote syslog in our RHEL environment, and it working without any issues. Problem is all client servers logs are flooding into /var/log/messages. I would like configure the syslog to manage log files based on IP/Host Name.

    Instead of /var/log/messages, I need to have /var/log/<client-hostname>.log

    Can anyone please help me on this.


  2. #2
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    It's RHEL5, so I presume you're using the default rsyslogd. Have a look at How to Setup Rsyslog Remote Logging on Linux (Central Log Server)

    If you're using syslog-ng, it's also doable, but differently.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts