mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-12-16 05:10:36 +00:00
Fixed lint warnings
This commit is contained in:
parent
72e6bcd744
commit
29122932ef
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user