blob: 615b50fc85f8da900455e33d01252f4f7ed149e8 [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
21nem-monitoring:
22 args:
23 voltha_kpi_broker: cord-platform-kafka:9092
24 grafana:
25 datasources:
26 datasources.yaml:
27 apiVersion: 1
28 datasources:
29 - name: Prometheus
30 type: prometheus
31 url: http://cord-platform-prometheus-server.default.svc.cluster.local
32 access: proxy
33 isDefault: true
34
35logging:
36 kibana:
37 env:
38 ELASTICSEARCH_URL: "http://cord-platform-elasticsearch-client:9200"
39 elasticsearch:
40 cluster:
41 env:
42 MINIMUM_MASTER_NODES: "1"
43 client:
44 replicas: 1
45 master:
46 replicas: 2
47 persistence:
48 enabled: false
49 data:
50 replicas: 1
51 persistence:
52 enabled: false
53 logstash:
54 elasticsearch:
55 host: "cord-platform-elasticsearch-client"
56 inputs:
57 main: |-
58 input {
59 kafka {
60 auto_offset_reset => "earliest" # get all previous items from new topics
61 bootstrap_servers => "cord-platform-kafka:9092"
62 client_id => "logstash_ck"
63 codec => json { charset => "UTF-8" }
64 consumer_threads => 1
65 decorate_events => true
66 group_id => "logstash_ck"
67 metadata_max_age_ms => 60000 # recheck for new topics every minute
68 # other topics that are not indexed: xos.gui_events, voltha.kpis, voltha.heartbeat
69 topics_pattern => '.*\.events|dhcp.*|onos.*|.*\.log.*'
70 type => "cord-platform-kafka"
71 }
72 }
73 fluentd-elasticsearch:
74 elasticsearch:
75 host: "cord-platform-elasticsearch-client"
76
77kafka:
78 configurationOverrides:
79 "offsets.topic.replication.factor": 1
80 "log.retention.hours": 4
81 "log.message.timestamp.type": "LogAppendTime"
82
83 persistence:
84 enabled: false
85
86 zookeeper:
87 persistence:
88 enabled: false