blob: 7193ac5b845b9cfa962ddd739267426a62b842d4 [file] [log] [blame]
Luca Prete653e5f42018-12-13 14:32:01 -08001---
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080015
16xos-core:
17 platformKafka: cord-platform-kafka:9092
18 xos-gui:
19 platformKafka: cord-platform-kafka:9092
20
Zack Williams586dbab2018-12-21 10:51:52 -070021onos:
22 log_agent:
23 kafka_brokers: ['cord-platform-kafka:9092']
24
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080025nem-monitoring:
26 args:
27 voltha_kpi_broker: cord-platform-kafka:9092
28 grafana:
29 datasources:
30 datasources.yaml:
31 apiVersion: 1
32 datasources:
33 - name: Prometheus
34 type: prometheus
35 url: http://cord-platform-prometheus-server.default.svc.cluster.local
36 access: proxy
37 isDefault: true
38
39logging:
40 kibana:
41 env:
42 ELASTICSEARCH_URL: "http://cord-platform-elasticsearch-client:9200"
43 elasticsearch:
44 cluster:
45 env:
46 MINIMUM_MASTER_NODES: "1"
47 client:
48 replicas: 1
49 master:
50 replicas: 2
51 persistence:
52 enabled: false
53 data:
54 replicas: 1
55 persistence:
56 enabled: false
57 logstash:
58 elasticsearch:
59 host: "cord-platform-elasticsearch-client"
60 inputs:
61 main: |-
62 input {
63 kafka {
64 auto_offset_reset => "earliest" # get all previous items from new topics
65 bootstrap_servers => "cord-platform-kafka:9092"
66 client_id => "logstash_ck"
67 codec => json { charset => "UTF-8" }
68 consumer_threads => 1
69 decorate_events => true
70 group_id => "logstash_ck"
71 metadata_max_age_ms => 60000 # recheck for new topics every minute
72 # other topics that are not indexed: xos.gui_events, voltha.kpis, voltha.heartbeat
73 topics_pattern => '.*\.events|dhcp.*|onos.*|.*\.log.*'
74 type => "cord-platform-kafka"
75 }
76 }
77 fluentd-elasticsearch:
78 elasticsearch:
79 host: "cord-platform-elasticsearch-client"
80
81kafka:
82 configurationOverrides:
83 "offsets.topic.replication.factor": 1
84 "log.retention.hours": 4
85 "log.message.timestamp.type": "LogAppendTime"
86
87 persistence:
88 enabled: false
89
90 zookeeper:
91 persistence:
Zack Williams586dbab2018-12-21 10:51:52 -070092 enabled: false