1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
class { 'rsyslog::client': remote_servers => [ { host => 'logs.example.org', }, { port => '55514', }, { host => 'logs.somewhere.com', port => '555', pattern => '*.log', protocol => 'tcp', format => 'RFC3164fmt', }, ] }