[SEBA-154]
Enable KafkaLogHandler for XOS core/services
Reduce restarts of logstash
Values file for kafka on persistent storage
Change-Id: I631472ba1433ba195d1e2fec304a3193c29a81a9
diff --git a/xos-services/exampleservice/templates/_helpers.tpl b/xos-services/exampleservice/templates/_helpers.tpl
index 5087738..c33f782 100644
--- a/xos-services/exampleservice/templates/_helpers.tpl
+++ b/xos-services/exampleservice/templates/_helpers.tpl
@@ -58,11 +58,17 @@
filename: /var/log/xos.log
maxBytes: 10485760
backupCount: 5
+ kafka:
+ class: kafkaloghandler.kafkaloghandler.KafkaLogHandler
+ bootstrap_servers:
+ - "cord-kafka:9092"
+ topic: xos.log.exampleservice
loggers:
'multistructlog':
handlers:
- - console
- - file
+ - console
+ - file
+ - kafka
level: DEBUG
proxy_ssh:
enabled: {{ .Values.global.proxySshEnabled }}