diff --git a/spec/fixtures/files/filter_record_transformer.conf b/spec/fixtures/files/filter_record_transformer.conf new file mode 100644 index 0000000..58aadb6 --- /dev/null +++ b/spec/fixtures/files/filter_record_transformer.conf @@ -0,0 +1,6 @@ + + type record_transformer + + hostname ${hostname} + + diff --git a/spec/fixtures/files/match_copy.conf b/spec/fixtures/files/match_copy.conf new file mode 100644 index 0000000..7a45925 --- /dev/null +++ b/spec/fixtures/files/match_copy.conf @@ -0,0 +1,13 @@ + + type copy + + type elasticsearch + logstashformat true + hosts 172.20.10.17:9200 + flush_interval 30s + + + type file + path /tmp/td-agent-debug.log + + diff --git a/spec/fixtures/files/match_secure_forward.conf b/spec/fixtures/files/match_secure_forward.conf new file mode 100644 index 0000000..1218ba0 --- /dev/null +++ b/spec/fixtures/files/match_secure_forward.conf @@ -0,0 +1,11 @@ + + 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 + + host test.server.com + + diff --git a/spec/fixtures/files/source_tail.conf b/spec/fixtures/files/source_tail.conf new file mode 100644 index 0000000..15b5dad --- /dev/null +++ b/spec/fixtures/files/source_tail.conf @@ -0,0 +1,6 @@ + + type tail + format json + path /var/log/test-application/*.json + tag application.test +