1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-11-13 21:50:34 +00:00
puppet-fluentd/examples/filter.pp

12 lines
207 B
ObjectPascal
Raw Normal View History

2015-12-07 12:23:41 +00:00
# configure filter
::fluentd::filter { 'test':
priority => 20,
pattern => '*.test',
config => {
'type' => 'record_transformer',
'record' => {
'hostname' => '${hostname}'
}
}
}