mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-13 21:50:34 +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'
|
||
|
}
|
||
|
}
|