summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislavG <Borislav.Glozman@amdocs.com>2018-03-25 18:12:38 +0300
committerBorislavG <Borislav.Glozman@amdocs.com>2018-03-27 11:42:25 +0300
commite3b6f914d6daf91ca110060c2b8696ff04b82773 (patch)
treea43ed198a8819923b585f4f7ddbdb06f72d07c63
parent9e5c75760a9ac237fcd02aeb6a7684873c35d794 (diff)
Add standardized helm chart for log
Change-Id: Ic9f0eb567716224893955d9379e9ed9308b9ea79 Issue-ID: OOM-740 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
-rw-r--r--resources/config/log/filebeat/filebeat.yml2
-rw-r--r--values.yaml4
2 files changed, 5 insertions, 1 deletions
diff --git a/resources/config/log/filebeat/filebeat.yml b/resources/config/log/filebeat/filebeat.yml
index 89c6932..b0d4690 100644
--- a/resources/config/log/filebeat/filebeat.yml
+++ b/resources/config/log/filebeat/filebeat.yml
@@ -21,7 +21,7 @@ output.logstash:
#List of logstash server ip addresses with port number.
#But, in our case, this will be the loadbalancer IP address.
#For the below property to work the loadbalancer or logstash should expose 5044 port to listen the filebeat events or port in the property should be changed appropriately.
- hosts: ["logstash.{{.Values.nsPrefix}}:5044"]
+ hosts: ["{{.Values.config.logstashServiceName}}.{{.Release.Namespace}}:{{.Values.config.logstashPort}}"]
#If enable will do load balancing among availabe Logstash, automatically.
loadbalance: true
diff --git a/values.yaml b/values.yaml
index e283cb6..eaeaa2e 100644
--- a/values.yaml
+++ b/values.yaml
@@ -74,3 +74,7 @@ persistence:
mountPath: /dockerdata-nfs
mountSubPath: aai/data-router/logs
+config:
+ logstashServiceName: log-ls
+ logstashPort: 5044
+