summaryrefslogtreecommitdiff
path: root/tests/multiple_hosts.pp
blob: 08520475d5079da509f659f209b42e04c37b9b78 (plain)
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',
    },
  ]
}