aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/common/templates/heka-elasticsearch.toml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/common/templates/heka-elasticsearch.toml.j2')
-rw-r--r--ansible/roles/common/templates/heka-elasticsearch.toml.j216
1 files changed, 0 insertions, 16 deletions
diff --git a/ansible/roles/common/templates/heka-elasticsearch.toml.j2 b/ansible/roles/common/templates/heka-elasticsearch.toml.j2
deleted file mode 100644
index f3d4b1346..000000000
--- a/ansible/roles/common/templates/heka-elasticsearch.toml.j2
+++ /dev/null
@@ -1,16 +0,0 @@
-[elasticsearch_json_encoder]
-type = "ESJsonEncoder"
-index = {{'"%{Type}-%{%Y.%m.%d}"'}}
-es_index_from_timestamp = true
-fields = ["Timestamp", "Type", "Logger", "Severity", "Payload", "Pid", "Hostname", "DynamicFields"]
-
-[elasticsearch_output]
-type = "ElasticSearchOutput"
-server = "{{ elasticsearch_protocol }}://{{ elasticsearch_address }}:{{ elasticsearch_port }}"
-message_matcher = "Type == 'log'"
-encoder = "elasticsearch_json_encoder"
-use_buffering = true
- [elasticsearch_output.buffering]
- max_buffer_size = 1073741824 # 1024 * 1024 * 1024
- max_file_size = 134217728 # 128 * 1024 * 1024
- full_action = "drop"