[SEBA-157]
Add log configuration to VOLTHA chart, configured to use kafkaloghandler
Resolve conflict between VOLTHA and ONOS logging fields
Change-Id: Ia218dedbd189a95d83b7e71887216f8de391ed91
diff --git a/onos/templates/log-agent-configmap.yaml b/onos/templates/log-agent-configmap.yaml
index 021ab63..44e2763 100644
--- a/onos/templates/log-agent-configmap.yaml
+++ b/onos/templates/log-agent-configmap.yaml
@@ -39,6 +39,11 @@
multiline.negate: false
multiline.match: after
+ # remove unneeded fields
+ processors:
+ - drop_fields:
+ fields: ["host", "prospector", "input"]
+
output.kafka:
hosts: {{ .Values.log_agent.kafka_brokers | toJson }}
topic: 'onos.log'