mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-12-16 13:20:35 +00:00
11 lines
222 B
ObjectPascal
11 lines
222 B
ObjectPascal
|
# configure source
|
||
|
::fluentd::source { 'test':
|
||
|
priority => 10,
|
||
|
config => {
|
||
|
'type' => 'tail',
|
||
|
'format' => 'json',
|
||
|
'path' => '/var/log/test-application/*.json',
|
||
|
'tag' => 'application.test'
|
||
|
}
|
||
|
}
|