1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Syslog-ng and RV042

Discussion in 'Cisco Small Business Routers and VPN Solutions' started by digit2006, Oct 15, 2006.

  1. digit2006

    digit2006 LI Guru Member

    Has anyone setup an RV042 firmware (1.3.7.10) to log to a syslog-ng server? I enabled syslog in the RV042 web interface and entered the IP of the syslog-ng server then rebooted the RV042. Does the RV042 transmit log info via TCP or UDP?

    I have the following in my syslog-ng.conf file:

    Code:
    # Define all the sources of network generated syslog
    # messages and label it "d_network"
    source s_network {
              tcp(max-connections(5000));
              udp();
    };
    
    # Define the destination "d_network" log directory
    destination d_network {
              file ("/var/log/syslog-ng/$YEAR.$MONTH.$DAY/$HOST/$FACILITY.log");
    };
    
    # Any logs that match the "s_network" source should be logged
    # in the "d_network" directory
    
    log { source(s_network);
           destination(d_network);
    };
    
    If anyone has any quick links or tutorials on this please let me know...

    Thanks,

    Digit
     
  2. eric_stewart

    eric_stewart Super Moderator Staff Member Member

    RV042 uses the standard, UDP Port 514, for syslog.

    /Eric
     
  3. giffordj

    giffordj LI Guru Member

Share This Page