Find the answer to your Linux question:
Results 1 to 2 of 2
I have syslogs that need to be forwarded to a remote syslog server. I have configured syslog.conf to forward them correctly, and they are not being blocked by any firewalls. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    1

    Syslogs not forwarding correctly


    I have syslogs that need to be forwarded to a remote syslog server. I have configured syslog.conf to forward them correctly, and they are not being blocked by any firewalls. The syslog.conf lines that I edited read as follows.

    *.alert "at"ipAddressHere
    *.auth "at"ipAddressHere
    local0.* "at"ipAddressHere

    Any ideas on how to get these logs forwarded to the right IP address? Thanks.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Have you set up the remote server's syslog to accept the incoming syslog messages? You need to edit rsyslog.conf and uncomment one of these:
    Code:
    # Provides UDP syslog reception
    #$ModLoad imudp.so
    #$UDPServerRun 514
    
    # Provides TCP syslog reception
    #$ModLoad imtcp.so  
    #$InputTCPServerRun 514
    Then restart the syslog daemon - service rsyslog restart

Posting Permissions

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