Add aggregator config to support metadata
diff --git a/heka/meta/heka.yml b/heka/meta/heka.yml
index 7fee988..a6e8568 100644
--- a/heka/meta/heka.yml
+++ b/heka/meta/heka.yml
@@ -108,9 +108,26 @@
port: 4354
ticker_interval: 30
aggregator:
- decoder: {}
- input: {}
- filter: {}
- output: {}
- splitter: {}
- encoder: {}
+ input:
+ heka_metric:
+ engine: tcp
+ address: 0.0.0.0
+ port: 5565
+ decoder: ProtobufDecoder
+ splitter: HekaFramingSplitter
+ filter:
+ influxdb_accumulator:
+ engine: sandbox
+ module_file: /usr/share/lma_collector/filters/influxdb_accumulator.lua
+ module_dir: /usr/share/lma_collector/common;/usr/share/heka/lua_modules
+ preserve_data: false
+ message_matcher: "Type == 'heka.sandbox.gse_metric'"
+ ticker_interval: 1
+ config:
+ tag_fields: "deployment_id environment_label tenant_id user_id"
+ time_precision: "{{ server.influxdb_time_precision }}"
+ encoder:
+ influxdb:
+ engine: payload
+ append_newlines: false
+ prefix_ts: false