mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-13 21:50:34 +00:00
72e6bcd744
- Changed templates/source.erb to accept Hash elements within 'config' - Updated source_spec test - Updated README.md
15 lines
262 B
Plaintext
15 lines
262 B
Plaintext
<source>
|
|
type tail
|
|
format json
|
|
path /var/log/test-application/*.json
|
|
<parse>
|
|
type regexp
|
|
expression ^(?<name>[^ ]*) (?<user>[^ ]*) (?<age>\d*)$
|
|
</parse>
|
|
<storage>
|
|
type local
|
|
path test.pos
|
|
</storage>
|
|
tag application.test
|
|
</source>
|