[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/sdncontroller/templates/_helpers.tpl b/xos-services/sdncontroller/templates/_helpers.tpl
index 12048a9..cb055ba 100644
--- a/xos-services/sdncontroller/templates/_helpers.tpl
+++ b/xos-services/sdncontroller/templates/_helpers.tpl
@@ -62,11 +62,17 @@
filename: /var/log/xos.log
maxBytes: 10485760
backupCount: 5
+ kafka:
+ class: kafkaloghandler.kafkaloghandler.KafkaLogHandler
+ bootstrap_servers:
+ - "cord-kafka:9092"
+ topic: xos.log.sdncontroller
loggers:
'multistructlog':
handlers:
- - console
- - file
+ - console
+ - file
+ - kafka
level: DEBUG
proxy_ssh:
enabled: {{ .Values.global.proxySshEnabled }}