mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-09 20:50:34 +00:00
12 lines
207 B
ObjectPascal
12 lines
207 B
ObjectPascal
|
# configure filter
|
||
|
::fluentd::filter { 'test':
|
||
|
priority => 20,
|
||
|
pattern => '*.test',
|
||
|
config => {
|
||
|
'type' => 'record_transformer',
|
||
|
'record' => {
|
||
|
'hostname' => '${hostname}'
|
||
|
}
|
||
|
}
|
||
|
}
|