1 2 3 4 5 6 7 8 9
include rsyslog class { 'rsyslog::database': backend => 'mysql', server => 'localhost', database => 'Syslog', username => 'rsyslog', password => 'secret', }