[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/openstack/templates/_helpers.tpl b/xos-services/openstack/templates/_helpers.tpl
index e521645..fdca6e8 100644
--- a/xos-services/openstack/templates/_helpers.tpl
+++ b/xos-services/openstack/templates/_helpers.tpl
@@ -57,11 +57,17 @@
filename: /var/log/xos.log
maxBytes: 10485760
backupCount: 5
+ kafka:
+ class: kafkaloghandler.kafkaloghandler.KafkaLogHandler
+ bootstrap_servers:
+ - "cord-kafka:9092"
+ topic: xos.log.openstack
loggers:
'multistructlog':
handlers:
- - console
- - file
+ - console
+ - file
+ - kafka
level: DEBUG
nova:
ca_ssl_cert: "/etc/ssl/certs/ca-certificates.crt"