1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-09-19 20:20:35 +00:00

Fixed lint warnings

This commit is contained in:
pilchkinstein-gtv 2018-03-02 23:22:13 +00:00
parent 72e6bcd744
commit 29122932ef

View File

@ -2,17 +2,17 @@
::fluentd::source { 'test': ::fluentd::source { 'test':
priority => 10, priority => 10,
config => { config => {
'type' => 'tail', 'type' => 'tail',
'format' => 'json', 'format' => 'json',
'path' => '/var/log/test-application/*.json', 'path' => '/var/log/test-application/*.json',
'parse' => { 'parse' => {
'type' => 'regexp', 'type' => 'regexp',
'expression' => '^(?<name>[^ ]*) (?<user>[^ ]*) (?<age>\d*)$' 'expression' => '^(?<name>[^ ]*) (?<user>[^ ]*) (?<age>\d*)$'
}, },
'storage'=> { 'storage' => {
'type' => 'local', 'type' => 'local',
'path' => 'test.pos' 'path' => 'test.pos'
}, },
'tag' => 'application.test' 'tag' => 'application.test'
} }
} }