mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-10 04:50:34 +00:00
added missing fixtures
This commit is contained in:
parent
525fc9c5ab
commit
533857e49c
6
spec/fixtures/files/filter_record_transformer.conf
vendored
Normal file
6
spec/fixtures/files/filter_record_transformer.conf
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<filter *.test>
|
||||||
|
type record_transformer
|
||||||
|
<record>
|
||||||
|
hostname ${hostname}
|
||||||
|
</record>
|
||||||
|
</filter>
|
13
spec/fixtures/files/match_copy.conf
vendored
Normal file
13
spec/fixtures/files/match_copy.conf
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<match *.test>
|
||||||
|
type copy
|
||||||
|
<store>
|
||||||
|
type elasticsearch
|
||||||
|
logstashformat true
|
||||||
|
hosts 172.20.10.17:9200
|
||||||
|
flush_interval 30s
|
||||||
|
</store>
|
||||||
|
<store>
|
||||||
|
type file
|
||||||
|
path /tmp/td-agent-debug.log
|
||||||
|
</store>
|
||||||
|
</match>
|
11
spec/fixtures/files/match_secure_forward.conf
vendored
Normal file
11
spec/fixtures/files/match_secure_forward.conf
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<match *.test>
|
||||||
|
flush_interval 30s
|
||||||
|
type secure_forward
|
||||||
|
secure yes
|
||||||
|
shared_key my_shared_key
|
||||||
|
self_hostname instance.test.com
|
||||||
|
ca_cert_path /path/to/ca.cert
|
||||||
|
<server>
|
||||||
|
host test.server.com
|
||||||
|
</server>
|
||||||
|
</match>
|
6
spec/fixtures/files/source_tail.conf
vendored
Normal file
6
spec/fixtures/files/source_tail.conf
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<source>
|
||||||
|
type tail
|
||||||
|
format json
|
||||||
|
path /var/log/test-application/*.json
|
||||||
|
tag application.test
|
||||||
|
</source>
|
Loading…
Reference in New Issue
Block a user