From 533857e49c6589912ab1d91b1a1b16ca168de8b2 Mon Sep 17 00:00:00 2001 From: Max Wilhelm Date: Thu, 3 Aug 2017 12:11:13 +0200 Subject: [PATCH] added missing fixtures --- spec/fixtures/files/filter_record_transformer.conf | 6 ++++++ spec/fixtures/files/match_copy.conf | 13 +++++++++++++ spec/fixtures/files/match_secure_forward.conf | 11 +++++++++++ spec/fixtures/files/source_tail.conf | 6 ++++++ 4 files changed, 36 insertions(+) create mode 100644 spec/fixtures/files/filter_record_transformer.conf create mode 100644 spec/fixtures/files/match_copy.conf create mode 100644 spec/fixtures/files/match_secure_forward.conf create mode 100644 spec/fixtures/files/source_tail.conf 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 +